Exit Intent Popup for Shopify

Show a discount code when a shopper on a computer heads for the browser tabs, and a timed popup on phones. You pick the trigger in the Shopify theme editor.

You will be redirected to the Shopify app store.

Short answer: an exit intent popup opens when a visitor on a computer moves the mouse out through the top of the browser window, toward the tabs, address bar or close button. Shopify themes do not include one, so you add it with an app. In Pop Up Discount you set Trigger to Exit intent in the theme editor. Phones and tablets have no cursor, so there the popup opens after the time delay you choose.

The details below come from the Pop Up Discount theme extension that runs on Shopify stores today, so you can see exactly when the popup fires and when it does not.

How exit intent detection works

Every exit popup watches the same browser event: the pointer leaving the page. Pop Up Discount opens the popup when all four checks pass.

CheckWhat it means for your visitors
The device has a mouse or trackpadThe browser reports a precise pointer. Phones and most tablets do not, so they get the time delay instead.
The pointer left through the top edgeThat is where the tabs, address bar and back button are. Moving out through the side or the bottom of the window does not open the popup.
The pointer left the page itselfMoving onto a menu or another part of the page does not count.
The page has been open for at least 1 secondA cursor that happens to cross the top edge while the page is still loading does not fire it.

The popup opens once per page view. How soon the same visitor sees it again is set by After closing and After subscribing (see the settings table below).

On a phone there is no cursor to follow. Some popup tools guess from a fast scroll up or a long pause; Pop Up Discount does not try. With the Exit intent trigger, phone and tablet visitors see the popup after the Display widget delay, so choose that delay with mobile shoppers in mind.

How to add an exit intent popup to Shopify in 6 steps

  1. Create the discount code. In Shopify admin, go to Discounts and create the code the popup will show, for example WELCOME10 with one use per customer.
  2. Install the app. Install Pop Up Discount by MITS from the Shopify App Store.
  3. Turn on the app embed. Open Online Store → Themes → Customize → App embeds and switch on the Pop Up Discount embed.
  4. Choose the trigger. In the Main window settings, set Trigger to Exit intent, then pick the Display widget delay that phones and tablets will use.
  5. Write the offer. Add the headline and text, choose the form fields (name, email, phone) and paste the discount code.
  6. Limit where it shows, then test. In Advanced features, pick Display on page type and the After subscribing rule and save. Then open the store in a private window on a computer and move the cursor up toward the tabs.

Exit intent popup settings for Shopify in the theme editor: After subscribing and Display on page type in the Pop Up Discount app embed

Advanced features in the theme editor. Here the popup shows on the home page only and never again to a visitor who has subscribed. The step-by-step guide with screenshots of every block is in how to add a discount popup to Shopify.

Settings that decide who sees the exit popup

SettingOptionsUse it to
TriggerTime delay, Scroll depth (10–100%), Exit intentChoose the moment the popup opens
Display widgetImmediately, after 5, 10 or 30 seconds, after 1 minuteSet the delay of the time trigger, and the delay phones get with Exit intent
After closingEvery new session, or after 3, 7, 15, 30, 90 or 180 daysDecide how soon a visitor who closed the popup sees it again
After subscribingSame as After closing, or Don't show againStop asking people who already signed up
Display on page typeAll pages, the home page only, every page except the home page, or one type such as Product, Collection, Cart, Blog, Article or SearchShow the exit offer where leaving costs you most, for example on the cart page
Don't display by request pathsA comma-separated list, such as /pages/contact, /account/loginKeep the popup off pages where it gets in the way

Exit intent, time delay or scroll depth?

A popup uses one trigger at a time. Pick the one that matches what you want the visitor to have done first.

TriggerWho sees itGood for
Exit intentComputer visitors who head for the tabs; phones get the delayA last offer to someone who browsed and is about to go. It waits until the shopper moves to leave.
Time delayEvery visitor, after the delayA welcome offer on the first visit, once the page has had time to load
Scroll depthVisitors who scroll past the share of the page you setLong product and blog pages, where scrolling shows interest

Published timing benchmarks, with their sources, are in the best timing for a popup discount. To compare triggers on your own store, run exit intent for two weeks, then a time delay for two weeks, and count the new customers the app tagged in Shopify → Customers in each period.

What to offer when a visitor is leaving

  • A code they can use today. For example 10% off the first order, created in Shopify Discounts with one use per customer.
  • A free shipping code. When shipping cost is what stalls carts, a free shipping code answers it directly. See free shipping codes in a popup.
  • A sign-up for later. Every sign-up becomes a Shopify customer with marketing consent, so Shopify Email or Shopify Flow can follow up even if the visitor buys nothing today.

Write one short headline with the offer in it. More copy ideas are in exit intent popup best practices.

Exit popups on phones and Google search

Google's guidance on intrusive interstitials and dialogs says popups that cover the content a visitor came for make a page harder to use and can lead to poor search performance. It points to banners that take up a small part of the screen as the safer pattern. Because phones get the timed popup rather than exit intent, leave Full screen on mobile off, keep the popup small, and check that the close button is easy to tap.

Other Shopify apps with exit-intent popups

We make Pop Up Discount, so read this as a vendor's list. Plans and features below are from the Shopify App Store listings we checked in October 2026. All four offer an exit-intent trigger; in Pop Up Discount it works on computers, and phones get a time delay.

AppFree planWorth a look if
Shopify Forms (by Shopify)The app is freeYou want popup and inline forms from Shopify itself
PoptinUp to 1,000 visitors a month; paid plans from $19You want spin to win, A/B tests or email campaigns in the same tool
OptiMonkUp to 10,000 pageviews a monthYou want many targeting rules and A/B tests
Pop Up Discount by MITSEvery day for 14 days, then days 1–3 of each month, up to 250 customersYou want one discount popup whose sign-ups land in Shopify customers, for $3.99 a month whatever your traffic

Compared side by side: best free Shopify popup apps, Pop Up Discount vs OptiMonk and Pop Up Discount vs Poptin.

What Pop Up Discount does not do

  • It does not detect leaving on phones and tablets; they get the time delay.
  • It has no A/B tests and no targeting by cart value, traffic source or country. You choose page types and paths.
  • It sends no emails or texts itself. The code goes out through Shopify Flow, and follow-ups through Shopify Email or your email app.

Start on the free plan and move to $3.99/month when you want the exit popup every day of the month.

Install Free on Shopify

Related guides

Frequently Asked Questions

What is a Shopify exit intent popup?

A popup that opens when a shopper on a computer moves the mouse out through the top of the browser window, toward the tabs, address bar or close button. Shopify stores add it with an app; it usually offers a discount code or asks for an email before the visitor leaves.

Do exit intent popups work on mobile?

Not in the same way. A phone has no cursor, so there is no mouse movement to detect. With the Exit intent trigger, Pop Up Discount shows phone and tablet visitors the popup after the Display widget delay you choose instead.

Does Shopify have a built-in exit intent popup?

Themes do not include one. You add it with an app: Shopify's own free Shopify Forms app lists exit-intent popups, and Pop Up Discount, Poptin and OptiMonk offer an exit-intent trigger too.

Will an exit intent popup hurt my SEO?

Google's guidance warns against popups that cover the content a visitor came for, especially on phones. Keep the mobile version small and easy to close, and leave Full screen on mobile off in Pop Up Discount.

How do I test my exit intent popup?

Open your store in a private window on a computer, wait a couple of seconds, then move the cursor up past the top edge of the page toward the tabs. A private window matters because the popup remembers visitors who already closed it.

Ready to grow your Shopify store?

Install Pop Up Discount by MITS and launch your first popup in minutes. Free plan available.

You will be redirected to the Shopify app store.