0

I am using MotioMail to show a countdown timer, e.g., http://s.mmgo.io/t/Ono, in the email. However, if user opens the email after the expired date/time, I want to hide the timer and switch to a graphic message.

How do I use AMPscript to get the Email Open Date/Time in order to calculate the time difference?

Thanks.

Jay

1 Answer 1

1

You could use a product that SFMC used to sell actively but is shy of these days called "Live Images". It has a heap more functionality to it and wasn't particularly cheap, but it can swap out images at open time based on a bunch of criteria including a specific date and time.

Other than that, if MotioMail can't do what you're looking for within the image, you can role your own version of Live Images using Landing Pages and embed the URL of the landing page as the image. The landing page has a simple switch statement to test the current date and time. If the time you specified has not passed, you redirect to the MotionMail image. If it's passed, you respond with an empty response using Server Side JavaScript. The issue with this is you use a Super Message each time the landing page is rendered - each time the email is opened and images downloaded.

You can't use AMPScript/SSJS to alter the HTML in the subscriber's inbox at open time, so you'd need something like MotioMail to place some other content around the timer in the image itself to explain what the timer's for.

2
  • Thanks for the info. This is how The Home Depot does theirs: <view.homedepotemail.com/…-PROMO_THURSDAY--20151122_orangeinsider_20151122_PRM_FW42_Base_SneakPeeks_A_v2_2885907-_-header_view&et_rid=79291779&r=0>
    – Jay Chow
    Commented Nov 24, 2015 at 17:05
  • Thanks. So, yes, they are showing content around the timer to explain what it's for. Using a landing page redirect would work. Either to MotioMail or to a one-pixel transparent GIF.
    – Macca
    Commented Nov 25, 2015 at 19:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .