What are promocodes in Mailocator and where are they used?
Promocodes serve as incentives for conversion – most often in the form of discounts, benefits, or special offers. In Mailocator, you can use them mainly in:
subscribe and lead campaigns,
exit-intent campaigns,
games and gamified campaigns,
loyalty and retention campaigns.
The promocode is given to the visitor after conversion (e.g., sending an email) and can be displayed directly in the campaign, sent by email, or transferred to a connected system.
Types of promocodes
Mailocator supports three types of promocodes:
Unique codes
Each converted visitor receives their own unique code.
You set the validity of the code yourself according to your needs and practices.
This type is ideal for one-time discounts or personalized offers.
Daily code
All users who convert on the same day receive the same code.
The code is valid only on the day of conversion.
Suitable for time-limited promotions or daily offers.
API codes
Codes are obtained based on an API request from the e-shop.
Codes are not physically stored in Mailocator – their generation and validity are controlled by the e-shop.
This type is suitable for advanced integrations and custom code logic.
How Mailocator works with code sets
Promocodes are stored in sets in Mailocator.
Each campaign can have its own set of codes assigned to it.
Example:
welcome campaign → set of codes with a 5% discount
exit-intent campaign → set of codes with a 10% discount
games → can choose (draw) a prize randomly from several sets
Promocode format and import
Promocodes are imported using a CSV file in UTF-8 encoding.
CSV file structure
Create a table (e.g., in Excel) with three columns:
- code
- expiration date in YYYYMMDD format
- code name or description (optional)
Example row:L6jbV6nKpmkD3UT;20240208;Code name;
In the code manager, you can also generate a test batch of codes, ready for immediate use.
Creating a set of codes and uploading them
Procedure in the Mailocator application:
Go to Settings
Open the Promocodes tab
Create a new set or open an existing one
Select the code type (unique / daily / API)
Paste or upload your codes
How promocodes are transferred to the campaign
will be displayed directly in the campaign content
used in the confirmation email
passed to the integrated email or e-commerce platform
Mailocator always ensures that the correct code is displayed only after a successful conversion and that it is not used more times than allowed by its type and settings.