|Setting up coupon codes|
Using our coupon codes external dynamic content URL allows you to include unique, single-use coupon codes within any email you want to.
This will allow you to incentivise your contacts with coupon codes without the risk of the codes being shared and abused.
Firstly you need to create a valid shopping cart price rule in Magento. This can be found in Marketing > Cart Price Rules (under ‘Promotions’).
When creating a new rule, you need to ensure you select that a specific coupon must be used and you want to use auto generation.
Once this is done and you have set up the rule, including the conditions and actions if required, you need to save the rule and then copy its ID. This can be found in Marketing > Cart Price Rules (under ‘Promotions’):
You can then insert the coupon code URL we provide (which is found by going to STORES > Configuration > DOTMAILER > Dynamic Content) into your dotmailer campaign and replace the part of the URL that says [INSERT ID HERE] with the ID you copied.
You can also set an expiry for the coupon in the URL. This is done by replacing the part of the URL that says [INSERT NUMBER OF DAYS HERE] with a number. Therefore, if you insert the number 30 there, then the coupon code will expire after 30 days and will no longer work if used during a checkout after that time.
The expiry countdown begins when the contact first clicks on the coupon code URL to generate their coupon code.
Entering 0 will result in setting no expiry time at all.
What does the format of the coupon codes look like and can it be changed?
The coupon codes we generate are always in the format of AAA-AAA-AAA and can't be changed.
Can I alter the font and style of the coupon codes you generate?
You certainly can - find out more about styling options.