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.
To add an exit-intent popup to Shopify, install a popup app, build the popup from a template, and set its trigger to exit intent on your product and cart pages, shown once per session. On phones there is no cursor to watch, so add a mobile leave signal such as the back button as a second trigger. The rest of this guide covers each step, what the popup should offer and how to design it.
What is an exit-intent popup?
It is a popup that waits until a shopper shows signs of leaving, then makes one last offer. On a computer, that sign is the cursor heading for the tabs, the address bar or the close button. Because it waits for the last moment, it leaves shoppers who are still browsing alone, and the shopper was leaving anyway, so you lose little by asking.
Exit intent is a trigger, not a design: any popup can use it, from a discount to a signup form to a one-question survey.
How do you add an exit-intent popup to Shopify?
- Install Nudgesmart and switch on its app embed. Add the app from the Shopify App Store, then click Enable in Theme Editor in the setup guide and Save. (App embed guide)
- Build the popup. Start from a ready-made template and change the headline, offer and image to match your store.
- Set the trigger. In the campaign's targeting, choose I'll choose the moment, add the Exit Intent condition and set it to Is True.
- Add a mobile signal. In the same card, add a mobile leave signal such as Back button pressed or Tab switched away. Any one of them is enough to show the popup, so it fires on whichever happens first.
- Limit the pages. Keep it to product pages and the cart, where shoppers are deciding. Blog posts and your About page are the wrong place for a last-chance offer.
- Cap how often it shows. Set it to once per session, so a shopper who said no isn't asked again on the next page. (Frequency guide)
- Test on a computer and a phone, then publish. Move your cursor off the top of the page on desktop, and press back on your phone.
The exit-intent popup guide and the exit intent trigger reference have screenshots of each setting. To try designs first, the exit-intent popup maker shows a real popup on a real storefront as you edit it.
How does exit intent work on mobile?
Phones have no cursor, so the desktop signal never fires there. Shoppers leave a phone page differently: they press back, switch to another app or tab, or flick quickly back up the page. That is why the mobile leave signals are separate rules you add alongside exit intent rather than part of it.
For most stores, back button plus tab switch catches the common ways people leave on a phone. Whatever you add, put the triggers in the same "any of these" card, and don't add a time-on-page rule there: every rule in that card shows the popup on its own, so a short timer would show it to shoppers who were not leaving at all.
Build the popup a leaving shopper sees.
The reason decides the offer. Pick the one you most want to answer.
Pick why the shopper is leaving. A product page appears here, and the popup opens when you move to leave it.
- Why the shopper is leavingNeeded
- Your discount, for a last-chance codeOptional
- Your brand colour and your own wordsOptional
What should an exit-intent popup offer?
One clear reason to stay. Pick one of these, not three:
- A discount code. The classic. Give each shopper their own code and switch on one code per shopper, so a shopper who comes back with the same email gets the same code and deadline, not a fresh one.
- Free shipping. Easy to explain, and it leaves your product prices alone. The popup offer picker compares what each offer costs you.
- A signup with something in return. Early access, a guide, or a code by email. Good when you would rather not discount.
- A question. "What stopped you today?" A one-question survey tells you why people leave, which is worth more than one saved order. A feedback survey is one of the 14 campaign types.
For a deeper comparison of offers, read percent off vs free shipping vs a gift.
What makes a good exit popup design?
- The offer in the first few words. "Wait, take 10% off" beats "Don't go yet" because it says what the shopper gains.
- One action. One field and one button. A popup that asks for an email, a phone number and a birthday is a form, not an offer.
- An obvious way out. A visible close mark and a "No thanks" link. Shoppers who feel trapped leave faster.
- Readable on a phone. Large text, a button you can hit with a thumb, and nothing hidden behind the keyboard. Check it with the mobile popup checker.
- Your brand, not the template's. Your colours, your photo, your tone of voice.
For button wording, see popup button text that gets tapped.
How do you know your exit-intent popup is working?
Give it a couple of weeks of normal traffic, then look at the campaign's report. Nudgesmart reports impressions, clicks, email captures, conversions and revenue for each campaign, and an order is credited only when the shopper used something the popup gave them, such as its discount code. If the popup gives codes, each one is reported as displayed, copied and redeemed, so you can see whether shoppers take the code but never spend it.
If few shoppers act on it, change one thing at a time: the offer first, then the headline, then the pages it shows on. For more on what works, read exit-intent best practices.
Questions merchants ask
Does exit intent work on phones?
Not on its own. The desktop signal watches the cursor, and phones have none. Add a mobile leave signal, such as the back button, as a second trigger in the same card.
Should an exit-intent popup show on every page?
No. Product pages and the cart are where shoppers are deciding. Showing a last-chance offer on blog posts or policy pages mostly annoys people who were never going to buy.
How often should it show?
Once per session is a sensible start. If many of your shoppers come back daily, a longer gap, such as once a day or once a week, feels less pushy.
Will an exit-intent popup annoy my shoppers?
Less than a popup that shows on arrival, because it waits until the shopper is already on the way out. It turns annoying when it shows on every page, comes back after a shopper closes it, or is hard to close. Limit the pages, cap it at once per session and make the close mark easy to find.
Can I use exit intent with a spin wheel or a scratch card?
Yes. Exit intent is a trigger, so any campaign can use it, including the games. See how to add a popup to Shopify for the full set of popup types.
Tags
- exit-intent
- popups
- shopify
- how-to
- popup-design
Written by
Denzil Sequeira
Founder of Nudgesmart, the Shopify app he builds, and the person who answers its support email.


