Exit intent modal
The exit intent modal is a full-screen overlay that fires when a visitor is about to leave — the highest-urgency nudge in the elNudge suite.
The exit intent modal is the highest-urgency nudge type. It fires a full-screen overlay at the moment a visitor shows strong signals of abandoning the page — giving your AI agent one last opportunity to start a conversation before the visitor leaves.
What it looks like
- Appearance: a centered modal overlay with a semi-transparent background covering the full viewport. The modal contains the agent's avatar, a short personalized message, and two action buttons.
- Actions:
- "Chat with [agent name]" — opens the full chat panel. This does not count as a dismissal toward the 2-dismissal silence rule.
- "No thanks" — closes the modal. The agent goes silent for the rest of the session (no further nudges will fire, regardless of the session nudge limit).
When it fires
The exit intent modal fires only on the EXIT_INTENT event, which elNudge detects when:
- The visitor's cursor moves toward the top edge of the viewport (i.e., toward the browser chrome or address bar) — the classic exit intent signal on desktop.
- On mobile, the modal is suppressed by default because cursor tracking is not available. You can enable a scroll-reversal trigger for mobile in Engagement Rules.
The modal is the AI's highest-confidence "last resort" nudge. It does not fire on every exit signal — the AI only shows it when the session context justifies a high-urgency intervention.
Session and dismissal limits
| Rule | Behaviour |
|---|---|
| Max 1 exit modal per session | The exit modal fires at most once per session, regardless of how many times EXIT_INTENT is detected |
| Does not fire after 2 dismissals | If the visitor has already dismissed 2 nudges in the session, the exit modal is suppressed |
| "No thanks" silences the agent | Clicking "No thanks" ends all further nudging for the rest of the session |
| "Chat with [name]" does not count as dismissal | Opening chat from the modal is a positive interaction, not a dismissal |
The exit modal does count against the session nudge limit of 3. If the visitor has already seen 3 nudges in the session, the exit modal will not fire.
Customise the modal copy
Exit intent message
Go to app.elnudge.com → your site → AI Persona → Exit Intent Message.
This is the message displayed in the modal before the visitor decides to chat or leave. Write it as a direct, first-person invitation — something that gives the visitor a reason to stay.
Examples:
"Before you go — can I help you find what you're looking for?""Wait! I noticed you were looking at [product]. Have any questions before you leave?""Leaving already? I can help with sizing, shipping, or anything else."
The AI may adapt the message based on the page context (e.g., referencing a specific product). The Exit Intent Message field sets the base copy that the AI uses as a starting point.
Button labels
The default labels are:
- Primary: "Chat with [agent name]" — the agent name is pulled from your AI Persona settings.
- Secondary: "No thanks"
To change these labels, go to AI Persona → Exit Intent Button Labels.
Agent avatar and name
The avatar and agent name displayed in the modal are the same as those used for all other nudge types — configure them in AI Persona → Agent Name and AI Persona → Avatar.
Quiet zones
The exit modal respects quiet zones. If the visitor is on a path listed as a quiet zone, the modal will not fire even if EXIT_INTENT is detected.
Configure quiet zones at:
- Script attribute:
data-quiet-zones="/blog/*,/privacy,/terms" - Dashboard: app.elnudge.com → your site → Engagement Rules → Quiet Zones
Enable or disable the exit modal
To turn the exit modal on or off:
- Go to app.elnudge.com → your site → Engagement Rules.
- Under Nudge types, toggle Exit intent modal on or off.
When disabled, the AI will not show the modal even when EXIT_INTENT fires. It may show a chat bubble or toast instead, if those types are enabled and the session limits allow.