Dynamic Coupon Expiration Dates in Emails

This article outlines how to setup a dynamic expiration date in a blast or automation email.

A dynamic expiration date is especially useful when you are running an automation campaign and you want to limit amount of days (e.g 7 days from email send) for which a coupon will be redeemable on a contact by contact basis.

Adding a dynamic expiration date to an email is a simple process.  You'll just need to copy the tag below into your email body and then set the number of days for which you would like the coupon to be valid by changing the number at the end of tag (in this example "2").

So if you would like your promotion to be valid for 2 days you would insert the following into your email: {{date 'MM/DD/YYYY' 2}}

 

So if an email was sent to a customer on 10/26/2015, the customer would end up getting an email with a coupon expiration date of 10/28/2015 in the format shown below.

 

Building on the previous example, if you would like your promotion to be valid for 7 days from the email send, you would insert the following into your email: {{date 'MM/DD/YYYY' 7}}

And for 30 days from the email send: {{date 'MM/DD/YYYY' 30}}

 

Common Mistakes to Avoid

Make sure that all of the date related characters are in uppercase format.  Lowercase characters will cause your date to be generated incorrectly upon email send.

Always send yourself a test email to confirm that your date is being generated correctly upon send.

Have more questions? Submit a request

Comments