Přejít k obsahu  Přejít k hlavnímu menu

Blog / Knowledge base

Updated: 2. May 2020

Countdown to the end of the campaign

You can add a countdown timer to any campaign


Deploying a countdown timer

Countdown properties:
The countdown is displayed automatically when the popup is displayed.
When the time limit is reached, the end of the action information is displayed at the specified location.
You can completely control the appearance using CSS.
You can display days, hours, minutes and seconds.

Insert the following tags into the HTML code:
<div class="mlctr-ext-countdown" data-end="20301231240000" data-end-message="Oops, campaign has been finished!">
     <span class="day"></span> days,
     <span class="hour"></span> hours,
     <span class="min"></span> minutes
     <span class="sec"></span> seconds left
</div>


Set the parameters for the countdown:
insert the end of the action in the format in the data-end attribute YYYYMMDDhhmmss and
In the data-end-message attribute, enter the text that will be displayed instead of the countdown when the action ends.



RELATED

Instructions for your own design for the wheel of fortune

How to create a wheel of fortune with your own HTML and CSS code

How to Thank you page in Mailocator?

See how to better bring your future customers back to your site as you complete the verification process.

Wheel of Fortune

A popular gamification element is the wheel of fortune, in which the user is offered a reward for providing data or subscribing to newsletters.

Mark campaign conversions with actions

Where a campaign is not automatically marked as converted (such as a newsletter sign-up), you can add a conversion using an action to better evaluate the success of the campaign.

Scenario testing laboratory

An easy way to verify the functionality of the scenario in Mailocator is to run a laboratory where you can see the entire course of processing over time, including the evaluation of conditions and user actions.

Disabling and enabling Mailocator using a parameter in the URL

If you need to limit campaigns in time and the UTM parameter is not available, you can use the internal parameter of Mailocator