> ## 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:

<Steps>
  <Step title="Step 1: Open your survey settings">
    Go to: **Apricot Dashboard → Surveys → Select the survey you want to publish → Edit**

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=933ba70c3de0ae53e56015629d1f2cb7" alt="All Surveys Page" width="2612" height="1054" data-path="images/all-surveys-page.png" />
    </Frame>
  </Step>

  <Step title="Step 2: Select Exit Intent Popup">
    From the survey editor, navigate to the Publish Channels section and select **Exit Intent Popup**. 

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/exit-intent-popup.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=6ba7f7ced7ce5d603b1c45436b4db30a" alt="Exit Intent Popup" width="2122" height="1064" data-path="images/exit-intent-popup.png" />
    </Frame>

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

  <Step title="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.
    </Note>

    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.

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/apricot-survey-block.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=37ee8b2ea5c6e44585ae8a977dfee463" alt="Apricot Survey Block" width="2880" height="1266" data-path="images/apricot-survey-block.png" />
    </Frame>

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

  <Step title="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**.

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/exit-intent-popup-shopify.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=9375e4565f5927a3ffd38f6747dd514f" alt="Exit Intent Popup Shopify" width="2216" height="1058" data-path="images/exit-intent-popup-shopify.png" />
    </Frame>

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