In order to send unique coupon codes out to your contacts, you’ll need to first import that information into your account as a custom field, then use a personalization tag to insert that information into your campaign or automation email.
Please note that ActiveCampaign does not generate coupon codes.
Uploading coupon codes
1. Log into your ActiveCampaign account and export the contacts that should receive a unique coupon code. If these contacts are in a list, click Lists > click on the list name > click “Export” on the top right of the page.
2. Format the export file by deleting all columns except for the email address column. Next to the email address column, add a Coupon Code column. Coupon code will serve as the name of your new custom field when we import this information later on.
3. Generate your list of coupon codes from your 3rd party application.
4. Copy the coupon codes and paste them into the Coupon Code column in the file you exported from ActiveCampaign. Save your file as a CSV.
5. Now, we will need to import this file in order to assign the coupon codes to contacts. To do so, click "Contacts" in the left-side menu and click “Import" on the top right of the page.
6. Click “Import from file.”
7. Select your file from your hard drive.
8. On the import page, map your coupon code column to your custom field. If this field does not yet exist, click “Add New Field” from the Map into Field dropdown:
Select the field type that this field should be. In this example, we’re going to click “Text input.” Click “Next.”
Type the name of your custom field and click “Save.”
9. In the “Import Options” box, click “Update existing contacts while importing” and click “Import Now.”
Note: You do not need to select a list as you are only updating contacts in your CSV file with a custom field
Once the contacts are updated, you will see the new custom field on the contact’s profile page.
In addition, we’ll also generate a personalization tag for your new field that you can use to insert into your outgoing communications.
Inserting coupon codes into a campaign
In order to distribute these codes to your contacts, you’ll need to insert the personalization tag for your coupon code field into your email. Once the contact receives the email, the value for that tag will automatically be inserted, replacing the tag itself.
1. To get started, open your campaign or automation email and click on a text box. You can type some copy to introduce your coupon code. For the purpose of this article, we wrote "Let's use this code at check-out:"
2. Place your cursor where you want the tag to be inserted. Then click “Personalize.”
3. Click the "Coupon code" field in the “Add a personalization” modal.
The personalization tag for your coupon field will be inserted:
In order to test your email prior to sending this out to your contacts, you will need to send this email to a test contact that has a coupon code. Sending a test version of this campaign will not render values for personalization tags.