The Mailocator snippet is a short JavaScript code that connects your website to the Mailocator application. Without it, it is not possible to display campaigns on the website or evaluate their performance. The snippet ensures that Mailocator is loaded, basic data about visitors is collected, and campaigns are launched correctly according to the set rules.
After inserting the snippet, no further website modifications or programmer intervention are necessary. All campaigns, their logic, and appearance are managed directly in the Mailocator application.
The recommended installation method is using Google Tag Manager (GTM), or the snippet can be inserted directly into the HTML code of the page. Both methods are fully supported.
Mailocator will not work on your website without a correctly inserted snippet.
Snippet version and updates
The Mailocator snippet is continuously evolving with new features, performance optimizations, and technological changes in browsers. Therefore, we recommend always using the latest version of the snippet.
Switching between versions is done directly in the Mailocator application. Once the snippet is correctly installed, there is no need to change anything in GTM or on the website during updates – everything happens automatically without any additional work.