What Is Exit Intent? Definition and How It Works

Exit intent is a behavioural trigger that detects when a website visitor is about to leave, usually by tracking cursor movement towards the browser controls or, on mobile, rapid upward scrolling. E-commerce teams use it to display an overlay carrying an offer or basket reminder before the session ends.

Exit intent is the detection of a visitor's intention to leave a website before they act on it, based on real-time behavioural signals. Once detected, it triggers an onsite action, most commonly an overlay, widely referred to as a pop-up, designed to hold the visitor's attention, capture their email address, or convert them with an offer before the session ends.

For commercial and marketing teams, exit intent matters because it addresses the largest leak in the e-commerce funnel: sessions that end without a purchase. Most of those sessions never reach a basket at all, and among those that do, the average cart abandonment rate sits at 70.22% according to Baymard Institute's meta-analysis of 50 separate studies.

How does exit intent detection work?

Exit intent technology monitors visitor behaviour in real time and fires a trigger when specific patterns indicate the session is about to end. The signals it reads differ by device.

On desktop, the primary signal is cursor movement. When the mouse travels quickly towards the top of the browser window, heading for the back button, the URL bar or the close tab control, the exit intent script fires. This remains the most reliable signal available because the movement pattern is distinct from ordinary browsing, where the cursor stays within the page.

Mobile has no cursor to track, so detection relies on alternatives:

  • Rapid upward scrolling back towards the top of the page, which often precedes a tap on the back button
  • Back-button presses, intercepted through browser history events
  • Tab switching or app backgrounding, detected through page visibility events
  • Inactivity thresholds, where a defined period without interaction suggests the visitor has disengaged

Detection on its own is only half of the mechanism. The rules layered on top of the trigger determine whether the resulting experience helps or irritates, because a trigger that fires on every visit for every visitor trains people to dismiss it without reading. Frequency capping, page-level targeting and audience qualification all narrow the trigger to the sessions where an intervention is worth making.

Within Uniqodo's Onsite Experiences, exit intent sits in the display rules as one of several interaction triggers, alongside user inactivity, time on page, device type, clicks on a specific element, and highlighting or copying content. Each experience is then governed by schedule rules covering dates and times, display rules covering where and when it fires, behaviour rules covering what happens once a visitor closes or converts, and optional audience rules that qualify visitors in or out before they reach the trigger at all. The practical effect is that the same exit overlay can run for first-time visitors with a populated basket and stay hidden from everyone else.

Exit intent is one of several triggers that can govern when an onsite experience appears, and what separates it is that it responds to a departure signal rather than an elapsed condition. A timed delay fires after a set number of seconds and a scroll trigger fires at a set depth, both regardless of what the visitor intends to do next.

Trigger What fires it Where it fits
Exit intent Cursor movement towards browser controls on desktop, rapid upward scrolling or inactivity on mobile Recovering a visitor who has signalled they are leaving
Page entry The page loading Announcing a sitewide offer or campaign to all arrivals
Timed delay A set number of seconds elapsing on the page Prompting engagement once a visitor has had time to read
Scroll depth The visitor reaching a defined point on the page Reaching visitors who have shown genuine content engagement
Inactivity A defined period without interaction Catching distracted visitors who have not moved towards the exit
Basket value The basket crossing or approaching a set threshold Driving order value with shipping or bundle messaging

Types of exit intent overlay

When the trigger fires, what the visitor sees determines whether firing it was worth doing. Four formats account for most exit intent pop-ups in e-commerce:

  • Discount offers. A percentage or fixed-value reduction, usually delivered as a code, presented as a reason to complete the order now rather than later.
  • Email capture. An incentive offered in exchange for a newsletter sign-up, which converts a departing session into a contactable subscriber even when no purchase follows.
  • Basket reminders. The items left in the basket, redisplayed with a prompt to check out and no discount attached.
  • Urgency messaging. Low stock warnings or a time limit on current pricing, prompting a decision rather than offering a concession.
Uniqodo Onsite Experiences template builder alongside a preview of an exit intent overlay offering 10% off with a unique code.
An example of an exit intent overlay offering 10% discount offer with a unique code.

The four divide along a line that matters commercially. Basket reminders and urgency messaging cost nothing to redeem, so they can run against any qualifying session without affecting margin. Discount offers and incentivised email capture both concede value on every redemption, which makes the rules governing who sees them the difference between a recovery mechanism and a leak.

Why exit intent matters for e-commerce margin

For teams accountable for both conversion rate and promotional margin, exit intent occupies a specific strategic position: it is a segmented discount, not a blanket one.

The discount reaches only the visitors who need it. A sitewide 10% offer discounts every order, including the majority that would have converted anyway. An exit intent offer reaches visitors who have demonstrated they are about to leave, so the concession concentrates on the segment where it changes behaviour. That makes the incremental revenue case cleaner than an always-on promotion.

The results are attributable. The trigger firing, the overlay impression, the code issue and the redemption are discrete events. Teams can report how many abandoning sessions were recovered and at what discount cost.

Both advantages depend on the code not being leaked. A single generic code shown in an exit overlay leaks quickly, reaching voucher sites and cashback extensions, and shoppers who were never going to abandon apply it at checkout. The discount stops being segmented and the attribution stops meaning anything, because redemptions no longer correspond to recovered sessions.

Uniqodo's Promotion Engine serves a unique single-use code to each visitor when the overlay displays, with an expiry window set against the moment of issue rather than a fixed campaign end date. A code that works once and lapses within a defined period cannot circulate, which keeps the discount confined to the sessions the trigger identified.

Exit intent best practice

Exit intent performs or fails on the rules around it rather than on the detection itself. Four things separate a programme that recovers revenue from one that annoys visitors.

  1. Target the trigger rather than firing it on every session. Baymard's survey data finds that 42% of US online shoppers who abandoned a basket did so because they were just browsing or not ready to buy. That segment is largely unpersuadable, and a discount shown to it is margin spent for nothing. Qualifying on basket contents, pages viewed or returning-visitor status concentrates the offer on sessions where hesitation is the actual cause.
  2. Cap frequency and make the overlay easy to dismiss. An experience that reappears on every visit trains people to close it without reading, and a close control that is hard to find turns a recovery attempt into a reason not to return. Once per session, with an obvious dismissal, is the safe default.
  3. Treat mobile as a separate design problem. Detection is less certain without a cursor, and an overlay that covers most of a small screen is a worse experience than the same overlay on desktop. Sizing and signal choice both need setting per device rather than inherited from the desktop configuration.
  4. Measure against a control group. Redemption volume only shows that visitors accepted a discount, not that the discount changed an outcome. Holding back a percentage of qualifying sessions gives a comparison that separates recovered revenue from revenue that would have arrived anyway.

Summary

Exit intent detects the point at which a visitor is about to leave and uses it to trigger a final onsite experience, reading cursor movement towards the browser controls on desktop and scroll or inactivity signals on mobile. Its value is not the detection but the timing: it reaches visitors whose intent has already resolved towards leaving, which is what makes it a segmented discount rather than a blanket one and gives the offer a defensible incremental revenue case.

Whether that value survives contact with the discount depends on two things:

  1. Who sees the overlay. The rules governing the trigger determine how much of the concession lands on visitors who were leaving anyway.
  2. What code they receive. The architecture behind the offer determines whether it stays with them or circulates to shoppers who were always going to buy.

Detection is the easy part, and the part every tool in the category can do. What happens to the offer afterwards is what separates a recovery programme from a margin leak.

Exit intent FAQs

What is an exit intent pop-up?

An exit intent pop-up is an overlay that displays when a visitor shows signs of leaving a page. It usually carries a discount, a basket reminder or a sign-up prompt, and it is the most common action taken once an exit intent trigger fires.

How does exit intent work on mobile?

Mobile has no cursor to track, so detection relies on rapid upward scrolling, back-button presses, tab switching and periods of inactivity. These signals are less definitive than desktop cursor movement, which means mobile exit intent needs its own sizing and targeting rather than the desktop configuration applied unchanged.

Do exit intent pop-ups hurt the user experience?

They can, and frequency is usually the cause rather than the format. An overlay that appears once per session, only for qualifying visitors, and with an obvious way to dismiss it, is far less intrusive than one that fires on every visit regardless of context.

Should an exit intent offer include a discount code?

Not always. Basket reminders and low stock messaging cost nothing to redeem and work well for visitors whose hesitation is not about price. A discount is worth conceding where price is the obstacle, and in that case a unique single-use code prevents the offer reaching shoppers it was never intended for.

What is the difference between exit intent and cart abandonment?

Cart abandonment describes an outcome, a basket created and left without purchase. Exit intent is a detection method that can be used to intervene before that outcome occurs, and it applies to visitors who never reached a basket at all.

The Uniqodo Framework

A single framework to solve four critical commercial pains.

Over 1 Billion Secure Unique Codes Generated

Promotion Security

Stop code leakage. Replace shareable generic codes with high-entropy unique strings. Protect your margins by ensuring discounts only apply to the intended audience under specific, validated conditions.

Advanced Incentives

Execute complex campaigns. Move beyond basic discounts with multi-tiered rewards, product bundles, and discounts, all managed without waiting for a developer to clear your roadmap.

Customer Engagement

Convert with intent. Use real-time data to trigger onsite nudges or referral loops exactly when they matter. Create a unified journey that turns browsing interest into confirmed sales.

£4 Billion+ in Annual Revenue Generated

Promotion Distribution

Scale partner sales. Automate the delivery of unique codes to thousands of partners instantly. Replace manual spreadsheets and CSV exports with secure, trackable API distribution.

GET STARTED

Stop running promotions on platform defaults. Start running them on your terms

We'll show you exactly how Uniqodo handles your use case - fraud controls, mechanic complexity, and ROI attribution included.