Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Blog/How to Build an Exit Intent Popup in Webflow

How to Build an Exit Intent Popup in Webflow

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.

Ovidiu·Contributor
|
February 9, 2024·2 min read

How to Build an Exit Intent Popup in Webflow

Memberscripts needed:

  1. https://www.memberstack.com/scripts/exit-intent-popup

Tutorial:

https://www.loom.com/share/983a8704090645e093f2943d236db72f?sid=f890b809-7d6f-4920-b6c5-64a61f8bb793

Cloneable:

https://webflow.com/made-in-webflow/website/exit-intent-popup-freebie

Blog image

Why/When would need to Build an Exit iIntent Popup in Webflow?

  1. 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:

  • ms-code-popup=”exit-intent”

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.

Conclusion

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.

Additionally, if you want to build a countdown timer and build a copy-to-clipboard functionality for a coupon code, check out MemberScript #8 & MemberScript #9.

Blog image

Our demo can help you add an exit intent popup that triggers when visitors’ cursors leave the viewport through the top of the screen.

Take me to the Script!

Written by

Ovidiu

Contributor

Contents

  • Memberscripts needed:
  • Tutorial:
  • Cloneable:
  • Why/When would need to Build an Exit iIntent Popup in Webflow?
  • Adding an exit intent popup to Webflow sites
  • Setting it up
  • Making it work
  • Conclusion
  • Take me to the Script!

Share

Explore Memberstack

  • All Features
  • Customer Showcase
  • Templates
  • Find Experts
  • Pricing
  • Help Center

Product

  • Full Feature List
  • User Accounts
  • Gated Content
  • Secure Payments
  • API & Integrations
  • Data Tables
  • Memberstack & Webflow
  • Memberstack & Claude Code
  • Memberstack & WordPress
  • Create a new account
  • 2.0 Log in
  • 1.0 Log in
  • Pricing

Learn about Memberstack

  • Showcase
  • Testimonials
  • Why Memberstack
  • Memberstack vs Outseta
  • Memberstack vs Memberspace
  • Memberstack vs Webflow Memberships

Company

  • About
  • Careers
  • Changelog
  • Partnerships(email)
  • Contact Us(email)
  • X
  • LinkedIn
  • "Do Not Sell My Data" Promise

Resources

  • Vibe Coding
  • Templates
  • Components
  • MemberScripts
  • Data Attributes
  • Find Experts
  • Hiring Guide
  • Webflow Slack Community
  • WordPress Slack Community
  • Support Forum
  • Help Center
  • Blog
  • llms.txt (for AI)
  • llms-full.txt (for AI)
AICPA
SOC

SOC 2 TYPE 1

CERTIFIED

GDPR

COMPLIANT

CCPA

COMPLIANT

Privacy PolicyTerms of ServiceCookie PolicySecurity Policy

© Memberstack Inc. 2018 - 2025. All rights reserved.

Memberstack - The no-code membership platform for any website | Product Hunt