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

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