DigitalSMAC Assistant

Powered by AI

Welcome to DigitalSMAC!

I'm here to help you find the right solutions for your business. Ask me anything!

Press Enter to send

Exit-Intent Modal Test Page

How to Test

  1. Wait 5 seconds for the exit-intent detection to activate
  2. Move your mouse cursor to the very top of the browser window (above the address bar area)
  3. The modal should appear when your cursor exits the viewport
  4. The modal will only show once per session (7-day cooldown)
  5. 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