> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apricotsurvey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exit Intent Popup

Display your survey as a popup when visitors are about to leave your store.

The **Exit Intent Popup** publishing option helps you collect feedback from visitors who are leaving your website by showing a survey at the right moment — before they close the page or navigate away.

This option is ideal for:

* Understanding why visitors leave your store
* Collecting feedback from customers who did not complete a purchase
* Running exit surveys without interrupting the browsing experience

## Set Up an Exit Intent Popup

Follow these steps to activate your exit intent survey:

**1. Step 1: Open your survey settings**

Go to: **Apricot Dashboard → Surveys → Select the survey you want to publish → Edit**

![All Surveys Page](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=933ba70c3de0ae53e56015629d1f2cb7)

**2. Step 2: Select Exit Intent Popup**

From the survey editor, navigate to the Publish Channels section and select **Exit Intent Popup**. 

![Exit Intent Popup](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/exit-intent-popup.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=6ba7f7ced7ce5d603b1c45436b4db30a)

You will see the setup guide with the required steps to activate your exit intent popup.

**3. Step 3: Connect Apricot to your store**

The first step is to enable the **Apricot app** block in your Shopify theme.

> [!NOTE]
>
> The **Apricot app block** **must be enabled** for Apricot surveys to work correctly. If it is not activated, your survey popup will not appear on your storefront.

Click on **Open Theme Editor** and you will be redirected to:

**Shopify Dashboard → Online Store → Customize → App Embeds**

The Shopify theme editor will **automatically** search for Apricot Customer Survey and enable the Apricot app embed. All you need to do is click **Save** to apply the changes.

![Apricot Survey Block](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/apricot-survey-block.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=37ee8b2ea5c6e44585ae8a977dfee463)

Return to the **Apricot Dashboard** after saving. The connection step will now be marked as **completed**.

**4. Step 4: Activate the exit intent popup**

After connecting Apricot to your store, continue with the next step:

**Enable Exit Intent Popup** and click **Save**.

![Exit Intent Popup Shopify](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/exit-intent-popup-shopify.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=9375e4565f5927a3ffd38f6747dd514f)

Your exit intent survey is now **active** and will appear when visitors are about to leave your store.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.