SmartTarget FredHopper Date / Trigger Setting

I would like to create a SmartTarget promotion based on the date we made available.

If the provided date is older than 4 weeks (indicated date <= Today - 4 weeks), an advertising campaign should be shown.

I see no way to configure this in SmartTarget and wondered if this is possible?

Failed to create a variable of type DateIsOlderThan4Weeks and configure it as a boolean.

Before I do this, I thought it was best to check if there is a more elegant solution, since the client can decide to implement the same logic based on other elapses of time, and it would be nice if they did not need to ask the developer to add each time some logic.

Thanks in advance:)

+6
source share
1 answer

I don't think there is currently a way to do the calculation on a date type trigger. You just get start / end / schedule options.

Instead of supplying a Boolean trigger and thereby (as you hint), limiting the ability of promotion managers to change the date difference, why not calculate the difference in days / weeks / months and put them as triggers on the basis of the number, i.e. . SuppliedDateWeekDifference <4? This will allow someone to control the promotion in order to change the values.

+6
source

Source: https://habr.com/ru/post/925831/


All Articles