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

# Exit-intent popups

> Create popups that trigger when visitors attempt to leave your funnel or website page in HoopAI.

Exit-intent popups detect when a visitor is about to leave your page and display a targeted message — a discount offer, email capture form, survey, or last-chance reminder — before they navigate away. They are one of the highest-converting lead recovery tools available in the funnel builder.

## How exit-intent detection works

On **desktop**, exit-intent is triggered when the visitor's mouse cursor moves toward the browser's close button or address bar. The platform tracks cursor trajectory and fires the popup before the visitor actually leaves.

On **mobile**, true cursor tracking is not available. Instead, the popup triggers on scroll-up behavior (indicating the visitor is reaching for the back button) or after a configurable time delay.

<Note>
  Exit-intent popups fire once per visitor session by default. A returning visitor who has already dismissed the popup will not see it again unless you change the frequency settings.
</Note>

## Creating an exit-intent popup

<Steps>
  <Step title="Open the page in the builder">
    Navigate to **Sites > Funnels** (or **Sites > Websites**), open your funnel or website, and click **Edit Page** on the target step.
  </Step>

  <Step title="Add a popup element">
    In the left panel, click **Add Elements** and scroll to the **Popup** section. Drag a **Popup** element onto the canvas.
  </Step>

  <Step title="Set the trigger to exit-intent">
    Click the popup element to open its settings. Under **Trigger**, select **Exit Intent**. This tells the popup to appear only when the visitor attempts to leave.
  </Step>

  <Step title="Design the popup content">
    Add your headline, body text, image or video, and a call-to-action button or form inside the popup. Keep the message focused on a single action — one offer, one form, one decision.
  </Step>

  <Step title="Configure display settings">
    Set the following options:

    * **Show frequency** — once per session, once per day, or every visit
    * **Delay before eligible** — minimum seconds on page before the popup can fire (prevents triggering on accidental mouse movements)
    * **Mobile fallback** — choose a time-delay trigger for mobile visitors
  </Step>

  <Step title="Save and publish">
    Click **Save**, then **Publish** to make the popup live.
  </Step>
</Steps>

## Popup design best practices

| Element          | Recommendation                                                        |
| ---------------- | --------------------------------------------------------------------- |
| **Headline**     | Lead with the benefit — "Wait! Get 15% off before you go"             |
| **Body**         | One to two sentences maximum                                          |
| **CTA button**   | Action-oriented text like "Claim my discount" instead of "Submit"     |
| **Image**        | A product image or relevant visual that reinforces the offer          |
| **Close option** | Always include a visible close button — hiding it frustrates visitors |

## A/B testing exit-intent popups

Create two versions of the popup with different headlines, offers, or designs to determine which converts better:

1. Duplicate the popup element in the builder.
2. Assign each version to a traffic split using the funnel's A/B testing settings.
3. Monitor conversion rates in **Sites > Funnels > Analytics** to identify the winner.

<Tip>
  Test one variable at a time — headline, offer amount, or design — to isolate what drives the conversion difference. Changing everything at once makes results impossible to interpret.
</Tip>

## Common use cases

<AccordionGroup>
  <Accordion title="Discount offer for cart abandonment">
    Display a limited-time coupon code when a visitor tries to leave an order form page. Include a countdown timer to create urgency.
  </Accordion>

  <Accordion title="Email capture on blog or content pages">
    Offer a free resource (checklist, guide, template) in exchange for an email address before the visitor leaves.
  </Accordion>

  <Accordion title="Quick survey for feedback">
    Ask leaving visitors why they did not convert — "What stopped you from signing up today?" with multiple-choice options. Use the responses to improve your page.
  </Accordion>

  <Accordion title="Redirect to a different offer">
    If the current page offer is not resonating, redirect leaving visitors to a lower-priced alternative or a free trial page.
  </Accordion>
</AccordionGroup>

<Warning>
  Avoid showing exit-intent popups on thank-you or confirmation pages. A visitor who has already converted does not need another popup — it creates a poor post-purchase experience.
</Warning>
