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

Blog / Knowledge base

Updated: 15. June 2020

Mailocator init/callback

How to call javascript function while Mailocator is running?

If Mailocator is successfully initialized, it will try to run the function with the reserved name mlctrCallback (), if one exists.

var mlctrCallback = function(){
    alert( 'Mailocator version: ' + mailocator.version );

The function can be stored anywhere in the main document or inserted directly into the Mailocator interface: Features & Settings > JavaScript:


Launch a campaign when you hover or touch a specific location on the page

Mark a location that triggers a campaign when the user hovers over it or touches it on a touch device

Mailocator Events

With events, you can intelligently manage the sequence of campaigns across the entire workflow scenario and display much more relevant and precisely targeted content in real time.


Set up the display of notifications on your site using Mailocator

Processing of the form (campaign) inserted into the page

How to send data to Mailocator from a form located on your site?

Instructions for your own design of the wheel of fortune

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