This post will teach you how to build an exit intent popup in Webflow feature in webflow, what an exit intent popup feature is and when/why you might want to use an exit intent popup in your project.
How to Build an Exit Intent Popup in Webflow
Why/When would need to Build an Exit iIntent Popup in Webflow?
- Keep users on your site for longer and increase your conversion rate by offering them a last-minute deal before leaving your site.
You’ve undoubtedly seen exit intent popups on websites before – they’ve become a great way to keep users on a site and convert them to customers.
Whatever you’re selling, exit intent popups with limited-time offers are a great way to increase your conversion rate and we’re going to see how you can add one yourself to your Webflow website.
Adding an exit intent popup to Webflow sites
To add an exit intent popup to your Webflow website, we’re going to use MemberScript #65 – Exit Intent Popup. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.
Setting it up
The first thing you’ll need to do is create a div block to house the popup itself and set its display to flex.
Once you’ve built and styled the popup, add this attribute to the div block housing it:
Before publishing your site, don’t forget to set the popup’s display to hidden.
Making it work
Now that you’ve got the popup built and styled, all you need to do is add the MemberScript #63 custom code to your page, before the closing body tag.
That’s everything, you can now go ahead and test your site’s exit intent popup by moving the cursor outside the viewport at the top.
If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.
Our demo can help you add an exit intent popup that triggers when visitors’ cursors leave the viewport through the top of the screen.