---
title: "Exit Intent"
path: https://www.eonshowroom.eon.com/en/content-elements/modal/exit-intent.html
lastModified: 2026-10-19T22:24:11.226Z
---

# Exit Intent

# Exit Intent Functionality

The **Exit Intent Functionality** enables content editors to proactively engage users who are about to leave a page. By detecting specific user behavioral triggers across desktop and mobile devices, the system automatically launches a designated modal overlay to present relevant support options, tailored offers, or key messages right before the user navigates away.

### Exit Intent Features

- Desktop Exit Detection: Triggers instantly when the mouse cursor leaves the browser viewport through the top boundary.
- Mobile Inactivity Detection: Triggers automatically after 15 seconds of continuous inactivity (no scroll, no touch/tap).
- Single-Trigger Protection: Restricts modal activation to exactly once per user visit per page session.
- Non-Intrusive Session Storage: Uses client-side sessionStorage without setting persistent tracking cookies; resets automatically when the tab is closed.
- Decoupled Architecture: Compatible with any standard FoundationNG Modal placed on the page.

[Modal ID: exit-intent-demo-modal]

## Configuration

### Exit Intent Functionality in a nutshell

Main configuration options of the Q&A component

- <strong>Place Modal: </strong>Insert a Modal component on the page and assign a unique Modal ID.
- <strong>Open Page Properties:</strong> Navigate to the Advanced tab.
- <strong>Enable Trigger:</strong> Under Script Integration, check the Exit Intent box.
- <strong>Link Modal ID:</strong>Enter the identical Modal ID into the Exit Intent Modal ID field.
- <strong>Publish & Verify::</strong>Save, publish, and test the trigger in an incognito window.
- <strong>Adjust Mobile Visibility (Optional): </strong>Toggle mobile pictogram display off if required.

### In this how to

Quick jump to the most relevant how to topics

- Place and Configure the Target Modal
- Activate Exit Intent in Page Properties
- Trigger Behavior Across Devices
- Frequency & Session Storage Rules

![](https://www.eonshowroom.eon.com/cdm-assets/is/content/eonfngdm/digit-1?ts=1794306490568)

#### Place and Configure the Target Modal

- Add a Modal component onto your page (recommended placement is at the bottom of the layout container).
- Open the Modal dialog and navigate to the Properties / ID section.
- Enter a clear, unique identifier in the Modal ID field (e.g. exit-intent-offer-modal or exit-intent-support-modal).
- Maintain the modal content (Headline, Descriptive Text, Primary CTA, and Close button).

![](https://www.eonshowroom.eon.com/cdm-assets/is/content/eonfngdm/digit-2?ts=1794306490689)

#### Activate Exit Intent in Page Properties

- In the top toolbar, click the Page Information icon and select Open Page Properties.
- Switch to the Advanced tab.
- Scroll down to the Script Integration section.
- Check the box labeled Enable Exit Intent.
- In the revealed Exit Intent Modal ID input field, enter the exact ID configured in Step 1 (e.g. exit-intent-offer-modal).
- Click Save & Close.

Page information

![](https://www.eonshowroom.eon.com/content/dam/foundationNG/images/how-to/its-on-us/content-elements/exit-intent-functionality/Exit-Intent.png/_jcr_content/renditions/original)

#### Trigger Behavior Across Devices

| **Device / Viewport** | Trigger Condition | Intended Behavior |
| --- | --- | --- |
| Desktop | Mouse cursor moves past the top boundary of the browser window (clientY <= 0). | Detects intent to switch tabs, enter a new URL, or close the window, launching the modal immediately. |
| Mobile & Tablet | ****15 seconds of complete user inactivity (no touch, tap, or scroll events). | Re-engages passive or stalled users who may be about to close the mobile browser. |

#### Accessibility & Usability (WCAG)

The Exit Intent integration strictly complies with global accessibility standards:

- **Focus Management (Focus Trap):** Once the modal opens, keyboard navigation (Tab / Shift + Tab) is trapped within the active dialog to prevent background interaction.
- **Immediate Screen Reader Announcement:** Assistive technologies automatically announce the modal dialogue and read its primary heading upon launch.
- **Easy Dismissal:** Users can dismiss the modal at any time by pressing the Escape key, clicking the visible close (✕) button, or clicking the backdrop overlay.
- **Focus Return:** When dismissed, focus returns to the logical top of the document structure.

## Does, Don'ts and Grid Usage

![](https://www.eonshowroom.eon.com/cdm-assets/is/image/eonfngdm/dcc25bcb-4735-4645-9822-b49fb3ae81b1?fmt=webp)

### What you should do

- Offer genuine value: Use exit modals for customer service assistance (e.g., chat options, FAQs) or high-value offers (e.g., tariff calculators, discount vouchers).
- Keep copy concise: Departing users scan quickly; use a strong, direct headline and a clear primary button.
- Use unique IDs: Ensure the Modal ID in the Page Properties matches the Modal component ID verbatim (case-sensitive, no leading #).
- Test both viewports: Verify the desktop mouse-out behavior and simulate the 15-second mobile timer using responsive DevTools before publishing.

![](https://www.eonshowroom.eon.com/cdm-assets/is/image/eonfngdm/9884279e-1390-4634-bda2-7b7d4dc1e149?fmt=webp)

### What you shouldn't do

- Do not use high-friction content: Avoid multi-step forms or heavy text blocks inside an exit modal.
- Do not activate across entire site hierarchies indiscriminately: Enable exit intent selectively on high-intent sales or conversion funnels rather than purely informational editorial pages.
- Do not override close capabilities: Never hide or delay the close button or disable keyboard dismissal.

![](https://www.eonshowroom.eon.com/cdm-assets/is/image/eonfngdm/EON_Pattern_1-3%3A2-1?fmt=webp-alpha)
