Let's pretend that you had created an email with a timer block, then exported it and your client said that the end date of the promotion has changed.

Don't worry, the data in the timer can be changed already in the exported email.

It is possible to change the date of the created timer by passing into its src URL special parameters like described below and then change it in the exported HTML inside your ESP (email service provider).

We have 2 options:

1. to add a deadline time

Let's say that this is an URL of the generated timer that you may find in the HTML code of the exported email template:

https://cdt-timer.stripocdn.email/api/v1/images/tki5Awo_nXMxPlLYj_7pNm8kABzxwidYkUhIga9QbUw?l=1539331906690

If you add into it this parameter "deadline" and specify the date in the date-time format, like this 2020-10-22T03:12:58, then the server will generate the gif with the expiration date passed into the values.

So the URL will be like this:

https://cdt-timer.stripocdn.email/api/v1/images/tki5Awo_nXMxPlLYj_7pNm8kABzxwidYkUhIga9QbUw?l=1539331906690&deadline=2020-10-22T03:12:58

2. to add a start time

If you add into it this parameter "start_time" and specify the date in the date-time format + seconds till the deadline in format, like this 2020-10-22T03:12:58+19000, then the server will generate the gif with the dynamic expiration date passed into the values.

So the URL will be like this:

https://cdt-timer.stripocdn.email/api/v1/images/tki5Awo_nXMxPlLYj_7pNm8kABzxwidYkUhIga9QbUw?l=1539331906690&start_time=2020-10-22T03:12:58+19000

If you still need any help with your timer block, please contact us.

Did this answer your question?