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:


Content replacement tags

There are several ways to copy arbitrary fields to campaign content, including influencing CSS class names, in Mailocator.

Action setval - change of values in Mailocator forms

The setval action can be used to dynamically change the default value in pop-ups

Connect and make forms for dialog-Mail

See how to easily connect dialog-Mail and build and setup subscription popup

Changes in the import of discount codes from 1 December 2020

If you use discount codes in Mailocator, please pay attention to the following information

Draw a random discount code

Do you need to draw a random win or a code to gamble popup? Mailocator allows you to easily set the probability to one hundredth of a percent, randomly select a win and deliver it to the email tool.

Launch a campaign using a URL

You can also invoke Mailocator campaigns or designs at any time using a parameter in your site´s URL