5

I have created a promotion with when trigger date is 30 jan 2015 - 31 jan 2015 in targeting tab in CME which should not visible today

But its visible on browser .Any help regarding the same highly appreciated

  • It's not off by a lot, so is it possible that you have different timezones between your CM/CD/FH machines and you haven't properly configured the offset in the SmartTarget configuration? – Peter Kjaer Jan 30 '15 at 11:00
  • CM/CD/FH are on the same machine – Hem Kant Jan 30 '15 at 14:31
  • Could you share a screenshot of the details of your Promotion? At least the triggers section would be helpful. Also, what is the time zone offset set to in your configuration? – Peter Kjaer Jan 30 '15 at 14:58
  • Of course, by now it probably is January 30 (depending on where in the world you are) so you maybe you could try bumping the date back a few days to see if the Promotion still shows up. – Peter Kjaer Jan 30 '15 at 15:13
  • Also, where are you seeing the Promotion? You just said it was visible in your browser -- but is that from a query done on your website? The Targeting section always shows all of the Promotions. – Peter Kjaer Jan 30 '15 at 15:18
5

For this to work, the trigger needs to be mapped to a value in your ADF.

I wrote a blog post here that shows the steps to wire up the Context Engine into SmartTarget, the steps are essentially the same you just need to wire up to the source of where your date is coming from.

In short:

  • Your app puts the date into the ADF
  • Configure this in your smarttarget_conf.xml
  • Configure the value from your conf into the Trigger types

Then it should magically work :)

If you've done these steps, perhaps you could share some of your config files?

  • You're right about these steps, of course, but I would expect the symptoms to be that the Promotion doesn't show up if this was the cause. Since the Promotion is showing up when it shouldn't, I think we need to look elsewhere for the cause of the problem. – Peter Kjaer Jan 30 '15 at 11:02
  • that's a good point Peter. @hem perhaps you can share a little more about the implementation? – johnwinter Jan 30 '15 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.