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

Blog / Knowledge base

Updated: 13. September 2020

Discount codes

Mailocator allows you to pass discount and promotional codes to email campaigns

How discount codes are processed
You can divide discount codes into sets and use each set for a specific campaign - you can use a different series of codes for exit-intent and another for welcome.
After successfully sending an email address, the discount code is passed to the email tool, which delivers it to the user.
After successful processing, you can have the discount code displayed directly in the thank you message.

Types of discount codes
Unique codes - each customer gets their own unique code.
Daily code - all customers will receive the same code with limited validity within one day.
Codes obtained in real time from an external API - more on this topic


Inserting discount codes into Mailocator


Open Features and Settings.
Select Promocodes and Gift Coupons.








In the Codes manager, select Create new promocode set.







Creating and filling a new code stack

Choose how to assign codes - daily (all users will receive the same code in one day) or unique - (each user will receive their own code).
Name the code stack.
Enter the codes in a valid CSV format.

CSV line format
The line must always contain: code, expiration date in the form YYYYMMDD and text information (discount name, action, ...) separated by a semicolon, UTF-8 character set.
Example: code-123; 20201224; Christmas Code is a code that all customers will receive on December 24, 2020.







Promo codes manager

You see an overview of discount code stacks.
The number shows the number of available unused codes.
You can add or delete sets.

Alert for low codes in the stack
In the Notification settings, you can have a notification message sent to you by e-mail before the tray is empty.







Assign codes to a campaign



In Scenarios, select the campaign and click the gift icon.
The codes can be attached to all campaigns that support email marketing.


Assign the desired tray to the campaign.




Expert settings

By sending a hidden input with the name of the stack, you can dynamically assign stacks to different designs across campaigns - for example during A / B testing:

<input type="hidden" name="opt_promocode_set" value="Unique codes"/>

value must contain a valid stack name.

RELATED

Instructions for your own design for the wheel of fortune

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

How to Thank you page in Mailocator?

See how to better bring your future customers back to your site as you complete the verification process.

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