Email guide
How to add a countdown timer to MoEngage
MoEngage personalizes email with Jinja, and personalization works inside image URLs — so a live countdown needs no integration at all. Paste one image tag into the email, and the recipient key is filled in per user at send time; the deadline is stored on the link and can be changed even after sending.
-
Design your countdown in tikio
Create a timer in the tikio editor: pick colors, fonts, labels and the languages you need. What you see in the editor is exactly what lands in the inbox — the timer is delivered as a regular animated image.
Or skip the blank canvas: start from a ready-made design in the template gallery and make it yours.
-
Get the code
Click Get code, choose “In an email”, pick how the countdown works — until a date, a personal timer per subscriber, or repeating on a schedule — and copy the code. The link stores the timer, so you can change the deadline any time, even after sending: emails already sent pick it up within minutes.
URLhttps://t.tikio.io/e/a1b2.gif -
Insert the timer into your MoEngage email
In the Drag and Drop editor, drag an HTML block where the timer should appear and paste the snippet below into the panel on the right. If you build with the Custom HTML editor, paste the same <img> tag into your template code. Wrap the image in a link to your offer so the timer is clickable.
HTML<img src="https://t.tikio.io/e/a1b2.gif" alt="Offer ends soon" width="480" style="border:0;max-width:100%;height:auto;" />
Per-recipient evergreen deadlines
Use {{UserAttribute['ID']}} — the user ID your app or imports set in MoEngage — as the recipient key; Get code fills it in when you pick MoEngage. Each user’s countdown then starts at their first open and does not reset on reopen.
<img src="https://t.tikio.io/e/a1b2.gif?uid={{UserAttribute['ID']}}" alt="Offer ends soon" width="480" style="border:0;max-width:100%;height:auto;" />Evergreen countdown timer in MoEngage Flows
MoEngage has no built-in countdown for email. In a Flow, users reach the email at different moments, so create a Personal timer in tikio and choose MoEngage: {{UserAttribute['ID']}} gives each user their own window from their first open — the countdown for abandoned-cart, trial-end and welcome-offer emails.
<img src="https://t.tikio.io/e/a1b2.gif?uid={{UserAttribute['ID']}}" alt="Offer ends soon" width="480" style="border:0;max-width:100%;height:auto;" />Add a fallback for users without an ID
MoEngage does not send an email whose personalization has no value and no fallback. If some of your users have no ID, add a default filter: those users still get the email, with a shared countdown instead of a personal one.
<img src="https://t.tikio.io/e/a1b2.gif?uid={{UserAttribute['ID']|default('')}}" alt="Offer ends soon" width="480" style="border:0;max-width:100%;height:auto;" />FAQ
Questions, answered
The test email shows the same countdown for everyone. Why?
Check the image URL in the received email. It should carry a real ID after uid=. If it still shows the tag, or the braces turned into %7B%7B, the editor encoded the tag and MoEngage did not substitute it — paste the snippet again into an HTML block. The test user also needs an ID on their profile.
Can I use it in push, SMS or in-app messages?
No — the countdown is an image and belongs in the email step. The same timer can go on your website as an iframe.
Can the deadline come from a user attribute?
Yes, through the REST API: create the link with a deadline that comes from the recipient, then put a Jinja expression that resolves to a date — ISO with a timezone offset, or unix seconds — into target= in the image URL.
Why does the timer look stuck for some readers?
Apple Mail Privacy Protection downloads images when the email is delivered, so an Apple reader may see the countdown as it was at delivery. Older Outlook desktop versions show only the first frame, which still carries the right time left at the moment of opening.
Your first countdown is minutes away
Free during early access — no credit card required. Design once, paste one snippet, and the timer ticks on every open.
Create your free countdown