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

Switching between integrations within the same project

If you need to route some campaigns to the CRM, others to an email tool, and store the results from surveys in an independent database, this solution is also easy to set up.

Automated values, adding values to hidden inputs

Merging of arbitrary fields and automatic filling of selected fields with a series of system values

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.

Notification

Set up the display of notifications on your site using Mailocator