How to Create an Exit-Intent Popup in Webflow
Learn how to create an exit-intent popup in Webflow: mouse detection, mobile scroll, and display frequency.
In this tutorial, Sandro, co-founder of Gemeos Webflow agency, shows you how to display an exit-intent popup in Webflow: it appears when the visitor is about to leave the page.
Example
1. Create the popup in Webflow
Create a Div with the ID exit-popup set to Fixed position, covering the entire page (top/left/right/bottom: 0), background rgba(0,0,0,0.5), display flex, align-items and justify-content center. Inside it, add your modal with your offer. Set the overlay to display: none by default. Add the exit-popup-close class to the close button.
2. Add the script in Footer code
3. Customize the trigger
To trigger it only after X seconds on the page, add a minimum delay before activating the listeners:
Conclusion
Exit intent is one of the most effective lead recovery tools. Use cases:
- Last-chance offer on a pricing page
- Download a free guide before leaving
- Newsletter signup with an incentive
Move your mouse to the top of the page to trigger the popup
👀Waiting for the exit signal...
Wait!
Before you go, download our free guide to Webflow optimization.
Download the guideNo thanks, I’m leaving
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















