Skip to main content

How to set up exit intent triggers

Add an exit intent trigger to a popup you already have, or set up a separate last-chance popup for visitors who are about to leave.

Written by Rob D

An exit intent trigger opens your popup when a visitor looks like they're about to leave, giving you one last chance to collect their email. You can add exit intent to a popup you already have, or set up a separate exit intent popup with its own last-chance message.

How exit intent works

Exit intent is detected differently on each device:

  • On desktop: When mouse leaves the page fires when the visitor moves their mouse out of the page, for example toward their tabs or the close button. It needs a mouse, so it never fires on phones.

  • On mobile: When user scrolls up quickly fires when the visitor scrolls up fast, which usually means they're done browsing.

You can also use After user is idle, which fires after a set number of seconds without moving the mouse, scrolling, or touching the screen.

Add exit intent to a popup you already have

  1. In Alia, go to Campaigns and open the popup in the popup editor.

  2. Select an empty area of the canvas so nothing is selected.

  3. In the right sidebar, go to the Triggers tab.

  4. Under Add a trigger, select Exit intent. Alia adds two triggers: When user scrolls up quickly for mobile and When mouse leaves the page for desktop.

  5. To open the popup on a specific step, select a trigger and choose the step under Open step.

  6. Select Save. If the popup is live, select Publish, then confirm Publish popup changes.

Decide how exit intent works with your other triggers

  • On either trigger: keep your existing triggers and add exit intent. The popup opens on whichever fires first, such as after 5 seconds or on exit intent.

  • On exit intent only: remove your other triggers, including Smart Trigger, so the popup only opens for visitors who are leaving.

šŸ’” Tip: A popup set to exit intent only reaches fewer visitors, because it only opens for people showing signs of leaving, not everyone who lands on your store.

Set up a separate exit intent popup

Use this to keep your main popup as it is and show a different last-chance popup to visitors who are leaving. The exit intent popup needs its own campaign, because each campaign shows one live popup at a time.

  1. Go to Campaigns. On your main campaign's card, open the ⋯ menu and choose Duplicate campaign. The copy starts not live.

  2. Click the copy's name to rename it, such as "Exit intent – Spring sale."

  3. Open the copy's popup and change the copy for visitors who are leaving. See Best practices.

  4. In the Triggers tab, remove the existing triggers, including Smart Trigger, then add Exit intent.

  5. Select Save, then publish the campaign by turning on the switch next to its name.

Keep the two popups apart

Only one popup can be open at a time, but once a visitor closes one, the other can open. To control this:

  • Space them out: in each popup's Triggers tab, use Don't trigger if another popup viewed in last... and choose a wait. New popups start with this on at 15 seconds. It only delays the second popup, it doesn't stop it.

  • Show only one: in the exit intent campaign's targeting, add Has not completed action > Viewed popup, then use Add filter > In campaigns and pick your main campaign. Visitors who already saw your main popup then won't see the exit intent popup.

Best practices

Messaging

This popup appears when someone is about to leave, so say so in your headline. For example:

  • "Wait! You still have X% off"

  • "Before you go, you still have X% off"

  • "Leaving so soon? You still have X% off"

Other tips

  • Ask for email right away. Skip extra steps, so you're not asking more of someone who's already leaving.

  • Remove the floating button. An exit intent popup is a one-time catch, not something that should stay on the page as a button.

  • Keep the close button visible. Visitors should always have an easy way to close the popup.

šŸ’” Tip: Before you publish, select the arrow next to Publish and choose Review popup. Lia, Alia's built-in AI assistant, checks for easy-to-miss mistakes, such as a floating button that shows a different offer than your popup. If you make more changes afterward, run the check again. See Getting started with Lia.

Frequently asked questions

My exit intent popup never opens on my phone. Why?

When mouse leaves the page needs a mouse, so it never fires on phones. Add When user scrolls up quickly for mobile, or use the Exit intent shortcut, which adds both.

Visitors see my main popup and then my exit intent popup right after. How do I stop that?

Lengthen Don't trigger if another popup viewed in last... in the exit intent popup's triggers, or add Has not completed action > Viewed popup with your main campaign to the exit intent campaign's targeting. See Keep the two popups apart.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?