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

Blog / Knowledge base

Updated: 18. December 2020

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.

Marking a conversion is possible with an action isConverted
You can then see the conversion results in your statistics to easily measure the actual result of your campaign - such as notifications



Add a conversion at the click of a button

For example, if you want to count a user's consent as a conversion, it's a good idea to click the action to mark the conversion:

<button onclick="mailocator.action.do('isConverted | close')">I agree</button>




Add conversion for link

It's often a good idea to indicate a conversion when a user navigates from a campaign to a displayed link.
The setting for the A tag in Mailocator is as follows:

<a href="#" onclick="mailocator.action.do('isConverted | url:https://example.com/page.html')">Go to example.com</a>


RELATED

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

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