Coupon Codes

Digioh provides several coupon features to help you drive sales.

  • Upload and Load: Upload a set of unique, one-time-use coupon codes to Digioh, and dynamically display them in a lightbox. You can also add more coupon codes over time.
  • Display on any page: You can display codes can on the Thank You page (after the user submits their email address) OR on the main page.
  • IP Address-Based: Each coupon code is tied to the IP address, meaning a user can’t reload your website to get new coupon codes. Each IP Address yields one coupon code.
  • Multiple Coupon Code Banks: You can associate a different bank of coupon codes with specific lightboxes.

How to Set up Coupon Codes

1. Click Coupons in the “Name” dropdown menu. (Note: if you don’t have access to Coupons, email us to enable it for you).

select coupon codes in the Digioh menu

2. Click “New Coupon Group”. Enter your “Group Name” and “Offer Description.” Choose whether you want coupons to populate when the lightbox is displayed, or when the user submits their info. You can change this setting using the edit link on the Coupons page. Click “Create Coupon Group.”

create coupon group to populate coupon code on box event


Box Submit: If you submit the coupon as a hidden custom field or show it on the Thank You page, set the Populate Coupon On field to “On Submit.”

Box Display: If you show the coupon on the main page of the lightbox, set the Populate Coupon On field to “On Display”. Special Note: If you use Box Display, your box will use one of your codes every time it displays. This means a lightbox that displays 10,000 times will use 10,000 coupon codes. Make sure you add enough codes if you use “Box Display.”

3. Copy and paste all coupon codes in a comma-separated format (Coupon1,Coupon2,Coupon3…):

paste unique coupon codes into digioh

Note: This does not mean:


4. Click “Add to Group.”

5. Take Note of the Group ID. In this example, the Group ID is 5.
group id of coupon code offers in Digioh

6. In the Editor, you can add [COUPON_{GROUPID}]. In this case, it is [COUPON_5].
add dynamic coupon codes to pop-ups in the digioh editor

Additional Dynamic Coupon Code Information

  • This will work in Text, Buttons, and HTML boxes (Please see special notes below on using Coupon Codes in HTML Block).
  • You can add coupons, but you can’t remove coupons.
  • You can remove a Coupon group, but that will remove all coupons in that group.
  • Coupons automatically use IP addresses. The same IP address will always see the same code (as long as it is within that group). This prevents coupon abuse and fraud.
  • Digioh shows see the percentage of coupons remaining. Once it goes below a certain amount, we recommend adding more coupons by clicking on “Add Coupons.”
  • We recommend adding no more than 5,000 coupons at once. You can add as many batches of coupons as you’d like to a code bank.
  • We also recommend setting up notifications to let you know when codes are running low so you can replenish them before they run out.

Checklist: Launching Pop-Ups with Coupon Codes

Before making your coupon lightbox live, double-check that you’ve completed the following.

1. Created a new coupon group. Make sure it is “Box Submit” if you are showing the coupon code on the Thank You page or Passing it as a hidden field. This makes sure we only use the coupon on submit – not on display.

2. Uploaded all the coupons into the group. Try to upload 1,000 coupons at a time, for best results. Limit is 5000 coupons per upload.

3. Updated the new coupon merge tag on the Lightbox Thank You page. This ensures the code is displayed in the Thank You Page.

email signup pop-up with dynamic coupon code

4. Updated the Hidden Field – CUSTOM_10 to pass the COUPON_29 field. We used CUSTOM_10 field, but you can use any custom hidden field.

pass coupon codes in hidden fields

Converting Coupon Lists to Comma-Separated Format

If your coupons are formatted as a column in excel, follow these steps to get them in the correct comma delimited format:

1. Copy column from excel

2. Open word and paste text only

3. Open the Find and Replace menu. Replace all instances of ^p with ,

4. Wait patiently! This part can take a while.

5. The codes are now comma delimited!

Adding Coupon Codes to HTML Blocks

If you add Coupon merge tags to the “HTML” elements in the editor, that HTML element must fulfill at least one of these requirements:

1)  Have no other HTML embedded within it at the same level as the Coupon merge tag (i.e. Coupon merge tag must be contained within the lowest child HTML element).
2)  Wrap the Coupon merge tag within its own “div” tag or “button” tag (only these 2 will work for now).
We typically recommend doing #2 to be safe.

Coupon Code FAQ

Q: I keep getting the same coupon code when I submit my test email? Why is that.
A: Our system only gives out 1 coupon code per IP Address. This prevents users from collecting more than one coupon code. You will get the same coupon code if you submit multiple emails on the same IP address.