On this page
Important Notice: This content is for educational purposes only. Results may vary based on your specific business circumstances, industry, market conditions, and implementation. No specific outcomes are guaranteed.
The leak nobody sees in the dashboard
You run a popup: enter your email, get 10% off, valid for 24 hours. A shopper takes the code, thinks about it, comes back two days later. The code has expired, so they close the tab, reopen the store, type their email again, and get a brand new code with a brand new 24 hours.
Nothing broke. But your deadline was never real, and the shoppers who worked that out learned that your offer resets whenever they want it to. Over a season, the same people collect code after code, and your "limited time" message reads as theatre.
What "one code per shopper" should mean
The rule is simple to say: same shopper, same code, same time left. In practice that means three cases:
- Their code is still valid. They see the same code again, with the time it really has left. No new deadline, no second play.
- Their code has expired. They are told the offer has ended. That is what makes the next deadline believable.
- They played a game and did not win. They are told they have already played, rather than getting another go.
Shopify's own settings cover part of this: a code can be limited to one use per customer. What Shopify cannot do is stop your popup from handing the same person a second, different code. That part has to happen where the code is given out.
How to recognise a returning shopper
The email address is the practical key. Browsers can be cleared and phones swapped, but a shopper who wants the code to arrive in their inbox gives you the address they actually use. Matching on it catches the common case: the same person typing the same email again.
It will not catch someone with five email addresses, and that is fine. The goal is to remove the easy reset, not to build a fortress. Someone determined enough to invent addresses for 10% off is rare, and you will still see them as separate customers in Shopify.
Pick an expiry you can stand behind
One code per shopper makes the expiry matter, so choose it on purpose. Shorter deadlines push a decision; longer ones suit products people think about. A few hours fits an impulse buy. A few days fits a considered purchase or a gift. Whatever you choose, it should be the same deadline you would defend if a customer emailed to ask for an extension.
The discount code countdown bar tool helps you choose how long a popup code should last for the kind of product you sell. To make the code itself easy to remember, coupon code ideas suggests names shoppers will not mistype.
Show the deadline after the popup closes
A deadline only works if the shopper can see it. Most shoppers close the popup and forget the code exists. A small bar at the top of the page with their code and the real time left keeps the offer in view while they browse, and it never resets on reload. The discount code countdown bar guide covers where it should sit and what it should say.
How it works in Nudgesmart
On scratch cards, spin wheels, pick-a-present and email signup popups that give a code, turn on One code per shopper in the popup's code settings. A shopper who enters the same email again sees their original code and the time it has left. Once that code is used or has expired, the popup gives them nothing new, and a shopper who played a game and lost can't play again.
The countdown bar then shows each shopper who got a code from one of your popups that code and its real time left, on every page, until they use it or it runs out. Reloading or coming back in the same browser shows the same time. The step-by-step setup is in the help article on giving each shopper one code.
Common mistakes
- A countdown that restarts. If the timer starts again on every page view, shoppers notice by the second visit.
- Two popups, two offers. A welcome discount and an exit discount shown to the same person stack up to a bigger deal than you meant to give. Let one offer at a time be the rule.
- An expiry too long to matter. A 30-day code is not urgent. Use a long expiry if that suits your product, but then drop the countdown language.
- Silence after expiry. "This offer has ended" is better than a code that quietly fails at checkout. Tell shoppers what happened.
If you are still deciding what the offer should be, percent off versus free shipping versus a gift compares the costs, and naming discount codes shoppers remember covers the code itself.
Next step
Open your store in a private window, claim your own popup code, then do it again with the same email. If you get a second code, your deadline can be reset by anyone who tries. Turn on one code per shopper, test it the same way, and check you see your original code and its time left.
Tags
- discount-codes
- popups
- urgency
- countdown
- shopify
Written by
Denzil Sequeira
Founder of Nudgesmart, the Shopify app he builds, and the person who answers its support email.


