How to generate unique discount codes for your campaign

Unique discount codes give each subscriber their own one-time-use code after signing up. This prevents code sharing and lets you track redemptions per subscriber.


How to set it up

Standard campaigns (popups, embedded forms, announcement, exit & cart saver)

  1. Open your campaign in the 1ClickPopup app
  2. Go to the Settings tab
  3. Under Discount code, select Generate unique discount codes

Gamified campaigns (spin-to-win, turntable, nine-square)

Gamified campaigns configure discounts per reward slot, not at the campaign level:

  1. Open your campaign in the 1ClickPopup app
  2. Go to the Settings tab
  3. Under Rewards, find the reward you want to configure and click Edit
  4. In the Edit reward modal, select Unique discount as the reward type
  5. Configure the discount settings and click Save

Each reward slot can have its own discount – for example, 10% off on one slot and 20% off on another.


Configure your discount

Once you select unique codes, you'll see these options:

Discount type – Choose between Percentage, Fixed amount, or Free shipping.

Discount value – The amount of the discount (e.g., 10 for 10% off, or 5 for $5 off).

Applies to – Choose whether the discount applies to the entire order, specific collections, or specific products.

Minimum order requirements – Set to None, a minimum purchase amount, or a minimum quantity of items.

Combinations – Choose whether this discount can be combined with product discounts, order discounts, or shipping discounts. This controls how the code interacts with other active discounts on your store.

Expiration – Set the code to never expire, expire after a specific time period (e.g., 24 hours, 7 days), or expire on a specific date and time.

Discount code prefix – Optionally add a prefix to make codes recognizable. For example, a prefix of "SUMMER" generates codes like "SUMMER5CJ0EVH8."


How it works for visitors

  1. A visitor signs up through your popup
  2. 1ClickPopup generates a unique one-time-use discount code
  3. The code is displayed on the Success screen (or Winning screen for gamified campaigns) – you can toggle this on or off in the Content tab
  4. If auto-apply is enabled, the code is automatically applied when the visitor reaches checkout

Each code can only be used once. If the visitor shares it, whoever uses it first claims it.


Things to know

Codes are created in Shopify Discounts. Every unique code generated by 1ClickPopup appears in your Shopify Admin → Discounts. You can view, manage, or delete them from there.

Auto-apply at checkout is optional. When enabled, the discount is automatically applied when the visitor reaches checkout – no need to copy and paste. You can toggle this on in the Settings tab under your discount configuration.

Lead capture with Shop works with unique codes. If your store has Shop Pay enabled, the discount can be applied automatically through the Shop Pay checkout flow.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us