---
title: "How to create Exit Intent Popup in WordPress?"
url: https://nexterwp.com/docs/exit-intent-popup-in-wordpress/
date: 2023-02-06
modified: 2026-09-14
lang: en
author: "Aditya Sharma"
description: "The moment before someone leaves is the last chance to say the thing that keeps them. Exit Intent watches for the cursor heading out of the page and opens the..."
image: https://nexterwp.com/wp-content/uploads/2024/05/exit-intent-popup-in-wordpress-1024x519.jpg
word_count: 376
---

# How to create Exit Intent Popup in WordPress?

## Key Takeaways

- Popup Builder in Nexter Blocks Pro opens an exit-intent popup when the cursor leaves through the top of the window, where the tab bar and address bar are.
- Display Conditions lets a popup use more than one trigger at once, and On Button Click stays off if the popup should appear only on exit.
- Exit intent needs a mouse, so touch visitors on phones and tablets never see it, and it cannot detect keyboard tab closes or app switching.

The moment before someone leaves is the last chance to say the thing that keeps them.

Exit Intent watches for the cursor heading out of the page and opens the popup then.

*For every Popup Builder setting in one place, see the [Popup Builder block guide](https://nexterwp.com/docs/add-popup-builder-in-wordpress/).*

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/builder/wordpress-popup-builder/)

## Before You Start

- **Edition:** **Pro** — the Popup Builder block is part of Nexter Blocks Pro.- **Block to enable:** Popup Builder, switched on under **Nexter > Blocks** in your WordPress dashboard.- **The popup's content decided:** a short message, a form, or a saved pattern to load into it.

## Learn via Video Tutorial

https://youtu.be/cUqsOejgx3w?t=881

## Steps

- Add the **Popup Builder** block to your page and click **Design from Scratch**.

- In the **Content** panel, choose a **Type** and set the popup's size.

![The Content panel with the Type setting](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-type.webp)

- Set **Content Type** and add what the popup should show.

![The Content Type setting with Pattern, Content, Editor and Shortcode](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-content-type.webp)

- Open **Display Conditions** and switch **Exit Intent** on.

![The Display Conditions panel with Exit Intent switched on](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-exit-intent.webp)

- Publish the page and test it on the front end.

> *A popup can have more than one display condition switched on at once. Leave **On Button Click** on only if you also want the button to open it.*

## How It Behaves

- The condition is written into the page and the block's script watches for the cursor leaving through the top of the window.- That is where the tab bar and address bar are, which is why it reads as leaving.- Switch **On Button Click** off if the popup should only appear on exit.- Combine it with a per visitor limit so someone who leaves twice is not asked twice.

## Limitations

- **Pro only.**- **Exit intent needs a mouse.** There is no equivalent gesture on a phone or tablet, so touch visitors will never see it.- It cannot detect someone closing the tab with a keyboard shortcut, or switching apps.- Moving the cursor up to a bookmark or another tab counts as leaving, so it can fire when the visitor was not really going.

## Troubleshooting

### Nothing happens when I move the mouse away

Move the cursor up and out through the top of the window, and test on the published page.

### It never fires on mobile

That is expected: there is no cursor to track. Use **On Scroll** or **After Inactivity** for touch visitors.

## Related Docs

- [Show a popup after page scroll](https://nexterwp.com/docs/popup-after-page-scroll-in-wordpress/)- [Show a popup after inactivity](https://nexterwp.com/docs/popup-on-user-inactivity-in-wordpress/)- [Popup Builder block: all settings](https://nexterwp.com/docs/add-popup-builder-in-wordpress/)

## Frequently Asked Questions

**Q: What do I need before creating an exit intent popup in WordPress?**
A: Exit Intent Popup in WordPress is a Pro feature in Nexter Blocks, so the popup builder has to be enabled under Nexter &gt; Blocks in your WordPress dashboard. The popup content also needs to be decided first, whether that is a short message, a form, or a saved pattern. That matters because the block is built around loading content into a popup, not creating the content from scratch later.

**Q: Why does my exit intent popup only work on desktop and not on mobile?**
A: Exit intent depends on a mouse cursor, so touch visitors on phones and tablets will never trigger it. The block watches for the cursor leaving through the top of the window, which is something mobile devices do not have. For touch traffic, the page points to On Scroll or After Inactivity as better options in Nexter Blocks.

**Q: How does exit intent detection work in WordPress?**
A: The condition is written into the page and the block script watches for the cursor leaving through the top of the window. That top edge matters because it lines up with the tab bar and address bar, so moving upward reads as leaving. A practical gotcha is that moving toward a bookmark or another tab can also count as exit intent, even if the visitor was not truly done.

**Q: Can I combine exit intent with other popup triggers?**
A: The popup can have more than one display condition switched on at once. That means Exit Intent can sit alongside On Button Click if you want both behaviors active. If you want the popup to appear only when someone leaves, switch On Button Click off. Combining triggers without thinking through the logic can make the popup feel less targeted.

**Q: What should I do if my exit intent popup does nothing when I move the mouse away?**
A: The trigger only fires when the cursor moves up and out through the top of the window on the published page. Testing inside an editor view can be misleading because the script is meant to watch real front-end behavior. If it still feels dead, check that Exit Intent is switched on in Display Conditions and that Popup Builder is enabled under Nexter &gt; Blocks.

**Q: Is there a better option than exit intent for touch visitors?**
A: On Scroll and After Inactivity are better fits for touch visitors because exit intent needs a mouse. The page explicitly says there is no equivalent gesture on a phone or tablet, so touch users will never see an exit-intent popup. For mixed traffic, pairing Exit Intent with one of those other triggers gives you coverage across desktop and mobile.
