What are single-use discount codes?
Single-use discount codes give a referred customer a unique code that works once, stopping affiliate discounts from leaking to coupon sites. Unlike a reusable Shopify code that anyone can share, customers claim their own code after opening an affiliate's referral link.
These codes require the Pro or Premium plan. They aren't available for country or variant discounts.
How they prevent coupon leaks
Standard discount codes are reusable. Any customer typing one at checkout gets the discount, even after finding it on a coupon site. The affiliate earns commission on those orders too, unless the group has Only track referrals for new customers on and the customer already has an earlier paid order in your Shopify store and isn't that affiliate's customer. That leak gives the discount to customers the affiliate didn't refer.
Simple Affiliate creates a single-use code only when a customer claims it during a referral-link visit. Because an affiliate's reserved name isn't an active Shopify code, a leaked name won't work at checkout. A claimed code works once for that customer, then expires when the group's conversion window ends, measured from the time of the claim.
Set up single-use codes
Your group's discount code rule must be Active before you switch code types. If it isn't on yet, see the walkthrough for enabling discount codes and discount rules.
- Open the group in Simple Affiliate.
- Switch to the Discounts tab.
- Select Single-use discount codes under Discount code type.
- Save your changes.
- Confirm the switch if the group previously used standard codes.
- Verify that Simple Affiliate Tracker is turned on and saved inside your theme's App embeds.
If you switch from standard codes, Simple Affiliate turns them off in Shopify while keeping the names reserved if you switch back. The claim popup runs through the tracker, so check the tracker setup guide if Simple Affiliate Tracker isn't active yet.
Test the claim experience
- Visit a referral link belonging to an affiliate in that group.
- Accept cookies if a consent banner appears on your store, since the claim popup requires customer consent.
- Click Claim inside the popup to claim a code, or click Reject to dismiss it.
- Proceed to checkout.
At checkout, the unique code applies automatically and begins with that affiliate's code name. You can follow screenshots of the whole setup in the guide to setting up single-use discount codes.
When to stay with standard codes
Keep Standard discount codes when affiliates are meant to share a reusable code on purpose, whether in print, on packaging, or as a public offer. Pick single-use codes when the discount should apply only to customers who arrived through an affiliate's referral link.