Exit-Intent Modal Test Page
How to Test
- Wait 5 seconds for the exit-intent detection to activate
- Move your mouse cursor to the very top of the browser window (above the address bar area)
- The modal should appear when your cursor exits the viewport
- The modal will only show once per session (7-day cooldown)
- Use the "Clear LocalStorage" button below to reset and test again
Manual Trigger (for testing)
Click the buttons below to manually trigger each modal variant:
Modal Variants
1. Calculator Variant
Offers ROI calculator access. Best for product pages and homepage. Links to: /calculators/crm-roi
2. Demo Variant
Offers free demo booking. Best for pricing pages and feature comparison pages. Links to: /contact
3. Resource Variant
Offers free guide download. Best for blog posts and educational content. Links to: /resources
Implementation Notes
- Exit-intent detection activates after 5 seconds on page
- Triggers when mouse moves to top 10px of viewport
- Shows once per session with 7-day cooldown
- Uses localStorage key:
exit_intent_shown - Smooth animations with Framer Motion
- Backdrop blur effect for focus
- Responsive design for mobile and desktop