How to prepare a promotion to present it on a digital totem Follow
The Easypromos platform is designed so that promotions can be used in a wide variety of contexts, such as a fair, congress or other physical events, where organizers often choose to engage visitors with a digital promotion, such as a prize wheel or game. One way to present the promotion is by using a digital totem or vertical touchscreen with Internet access, from which users can register directly.
In this tutorial, we explain how to configure and prepare the promotion so that user participation works correctly on a touchscreen totem.
These are the actions that must be applied:
-
Enable the user logout button on the Final page
-
Allow multiple entries from the same device and IP
-
Activate automatic autoreset on the final page after a user participates
-
Example of using a totem for a game
1. Enable the user logout button on the Final page
It is recommended to enable the "Disconnect and start over" button, which acts as a logout function and takes the user back to the Welcome page after closing the last user's session. This button is shown on the final screen after the user finishes participating:
To enable this button, enter the Editor of your promotion > Pages > Final > under the Options tab. There, enable the option to "Disconnect and start over", and customize the logout button text:
2. Allow multiple entries from the same device and IP
By default, Easypromos promotions come configured for online participation from multiple devices, and therefore include security measures that restrict multiple entries from the same device to avoid fraudulent participations.
If you're using a digital totem, you need to disable these security options so users won't face any restrictions when participating from the same device.
To do this, go to Editor > Pages > Login and registration > Security options, and apply the following changes:
3. Activate automatic autoreset on the FINAL page after a user participates
Additionally, if you're using the White Label version of the platform, you can enable a Javascript code that triggers an automatic reset a few seconds after the user reaches the Final page.
This logs out the user and automatically redirects them to the start page, without having to click anywhere or do any additional action.
To do this, enter the Editor of your promotion > Design > Advanced > Javascript, HTML, and custom code, and add the following Javascript code:
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
(function() {
// Check if the URL contains "participate" or "success"
if (window.location.href.includes("participate") || window.location.href.includes("success")) {
let timeout;
function resetTimer() {
clearTimeout(timeout);
timeout = setTimeout(() => {
window.location.href = "/promotions/logout/ID_PROMOTION";
}, 10000); // 10 seconds
}
// Listen for user interaction events
document.addEventListener("mousemove", resetTimer);
document.addEventListener("keydown", resetTimer);
document.addEventListener("click", resetTimer);
document.addEventListener("scroll", resetTimer);
document.addEventListener("touchstart", resetTimer);
// Start the timer
resetTimer();
}
})(); }); </script>
Note: we've highlighted in blue the variable parameters, which are the promotion ID and the number of seconds after which the system will auto-reset. If needed, you can adjust them for your own campaign.
Note: This feature is only available for promotions created with the White Label version of the platform.
4. Example of using a totem for a game
Below is a video showing a user playing the Free Kick game on a touch screen.
Comments
0 comments
Please sign in to leave a comment.