> For the complete documentation index, see [llms.txt](https://docs.zigpoll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigpoll.com/tutorials/exit-intent-survey.md).

# Exit Intent Survey

Ask visitors why they are leaving with a survey that appears as they go to close the tab

Exit intent surveys appear when a visitor is about to leave your website, giving you one last chance to collect feedback and potentially recover the customer.

#### Creating an Exit Intent Survey

1. Click **New Survey**.
2. **Step 1: Questions** — pick a template or build your questions from scratch.
3. **Step 2: Delivery** — choose an **Exit Intent** delivery option.
4. Finish the remaining step and click **Create Survey**.

To turn an existing survey into an exit intent survey, open it and go to **Settings → Delivery → Format**, choose **Exit Intent**, and press **Save Changes**.

#### How exit intent is detected

* **On desktop**, the survey opens when the cursor leaves the top of the browser window, as it does when someone heads for the tab bar, address bar or close button.
* **On mobile**, there's no cursor, so the survey opens when the visitor scrolls up quickly toward the address bar, switches to another tab or app, or stops scrolling and touching the page for a while. See [Exit Intent on Mobile](/tutorials/exit-intent-mobile.md).

An exit intent survey opens at most once per page load.

#### Configuring Exit Intent Settings

Open the survey and go to **Settings → Delivery → Trigger**. The **Exit Intent** card has:

* **Sensitivity** — how eagerly leaving is detected, from **Less sensitive** to **Extremely sensitive**. Higher sensitivity opens the survey more often, with more false alarms.
* **Exit intent timer** — "Enable exit intent after *10* seconds spent on your site." Nothing fires before this. The timer counts from the visitor's first page in their browser session, not from each page.
* **Device** — **All Devices**, **Desktop Only** or **Mobile Only**. To ask different questions on desktop and mobile, create two surveys and set one to each.
* **Exit prompt** — whether people can close the survey at any time, only after completing it, or after confirming.

Press **Save Changes**.

#### Limiting exit intent to certain pages

Exit intent surveys follow the page rules on **Settings → Delivery → Locations**. Add rules for the pages it should appear on, such as your product and cart pages, and exclusion rules for pages it shouldn't.

How often one person can see it is set on **Settings → Delivery → Frequency**, for example with **Appearance limit**.

#### Exit Intent with Cart Conditions

On Shopify stores you can make exit intent depend on the cart — perfect for reducing abandoned carts. On the **Trigger** tab, set **Cart conditions** to:

* **Only when the cart has at least one item**
* **Only when the cart is empty**
* **Always**
* **Custom rules**

With **Only when the cart has at least one item**, the survey only appears for visitors who are actively shopping, letting you learn why they're leaving and offer incentive to complete their purchase.

#### Making It Live

Toggle the visibility switch on the top right to make the survey live. Whenever someone tries to leave your website, the survey will appear.

{% hint style="info" %}
Exit intent can't run on Shopify's checkout pages — Shopify doesn't let apps watch the cursor or open pop-ups there. Put the survey on your cart page instead, or send an abandoned checkout email. See [Shopify checkout limits](/installation/shopify-checkout-limits.md).
{% endhint %}

#### Troubleshooting

* **It never appears when I test.** Wait until the Exit Intent Timer has passed, check the page matches your Locations, and test in a private window. A survey you've already completed or closed may not show again.
* **It opens too early.** On mobile, idle time and switching apps count as leaving. Lower **Sensitivity** or raise the **Exit intent timer**. See [My exit-intent survey opens too early](/faq/survey-performance-and-loading-speed.md#my-exit-intent-survey-opens-too-early).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zigpoll.com/tutorials/exit-intent-survey.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
