Try it free

Webflow

A Webflow popup from one line in your footer code

You could build a popup in the Designer from divs and interactions. PopupGenius is the other route: one script tag in your site’s footer code, and the popup is designed in the PopupGenius editor by describing it or starting from a template, with an email form, a code, triggers and a leads list already wired up.

  • One line in Site settings > Custom code
  • Built in your site’s colors and fonts
  • Exit intent, timer, scroll and custom events

Free plan: one popup, 500 views and 20 AI credits a month, with a small “Powered by PopupGenius” link. No card, and it does not expire.

How to add the popup to Webflow

What Webflow needs first

Webflow’s help center says custom code can be added when the site has an active Site plan, or when you are on a Core, Growth, Agency or Freelancer Workspace.

Custom code takes effect in preview, but it does not go live until you publish the site. Publish after you paste the tag.

  1. 1 Create a free PopupGenius account

    Sign up at app.popupgenius.app with your name, email and a password, then click “Verify email” in the email you receive. The free plan is already on the account, no card.

  2. 2 Save your site address and copy the script tag

    On the “Site” page, enter your website address under “1. Your website” and click Save. “2. Install the code” then shows your script tag. Click “Copy script”. You can type just example.com: https:// is added for you. Your tag looks like this, with your own site key in place of YOUR-SITE-KEY:

    <script async src="https://cdn.popupgenius.app/p/YOUR-SITE-KEY.js"></script>

    The tag stays the same when you edit or publish popups, so you paste it once.

  3. 3 Paste it into Webflow

    PopupGenius asks for the tag just before the closing </body> tag, on every page where a popup may appear. In Webflow there is more than one way to put it there; pick one.

    Site-wide, in Footer code

    The one to use: the tag goes on every page of the site.

    1. Open Site settings and go to the Custom code tab.
    2. Paste the PopupGenius script tag into the Footer code section.
    3. Click Save changes.
    4. Publish the site.

    Webflow’s own guidance is that external scripts in the head can slow page loads, and Footer code places the tag before the closing </body> tag, where PopupGenius asks for it.

    On one page only

    Rarely needed: Page settings > Custom code > Before </body> tag.

    1. Open the site in the Designer and open Page settings for the page.
    2. Paste the script tag into the Before </body> tag section under Custom code, save, and publish.

    Choosing which pages show the popup is a setting on the popup (URL rules), so a site-wide tag can still show it on one page only. Do not add the tag in both places.

  4. 4 Check the installation

    Under “3. Check the installation”, click “Open my site”. Back on the “Site” page, the status at the top changes to “Installed on” your address after that first visit. If it keeps saying “Waiting for the code to load”, the page you opened must be on the address you saved (www or not, but the same https and the same subdomain), and the tag must be on that page.

  5. 5 Create and publish a popup

    On “Popups”, click “Create popup”, start from a template or describe it to the AI Designer, choose its trigger on the “Workflow” tab, and click “Publish”. A checklist at the top of “Popups” ticks off each step until your first popup is live.

The Webflow steps follow Webflow’s own help articles, read on . Menus move, so check there if a label has changed: Webflow Help Center: Custom code in head and body tags

Why not build the popup in the Designer?

You can, and for a simple announcement it may be enough. The script route is for what takes longer by hand: an email form whose signups are stored and listed, a discount code shown after signup, exit-intent and scroll triggers, show-once-per-visit rules, a second step after “no thanks”, A/B variants and translations on paid plans.

Your Webflow project stays as it is. The popup is not an element on your canvas, so it never gets in the way of a redesign, and the classes in your style panel are untouched.

Open it from your own interactions

Webflow sites often already have custom code. Switch on the “Custom JS” trigger and the popup opens when your page fires an event you name, or when your code calls window.PopupGenius.show(). That lets a Webflow interaction, a form or a quiz you built decide the moment.

Staging address or live domain

A PopupGenius account has one website address, and popups load only on pages of that address (www and non-www count as one). If your site is published to a custom domain, register that one. The webflow.io staging address is a different address, so the popup will not show there unless that is the address you registered.

Saving the address also reads the colors and fonts of its home page, so the AI Designer’s first draft already matches your Webflow styles.

On Webflow Ecommerce

PopupGenius cannot see or change a Webflow cart. A product in the popup shows what you enter, and its button opens the product page. The popup does not add to the cart, its price is display only, and purchases are not counted: the numbers are views, emails captured and clicks.

Adding to the cart, charging the popup’s price at checkout, purchase numbers and cart conditions are features of the PopupGenius Shopify app only.

What a popup can do on Webflow

Webflow runs PopupGenius as a website account. The editor, the templates and the AI Designer are the same as in the Shopify app; what differs is everything that needs a store’s cart.

Works on Webflow

  • An email signup form, with an optional first name and phone, that shows your discount code after signup
  • Every signup on the “Leads” page with the page and traffic source it came from, as a CSV download or sent to Zapier, Make or your CRM by webhook
  • Products with your image, price and badge, whose button opens the product page you entered
  • Exit intent, timer, scroll and custom-event triggers
  • Countdowns, show-once rules, a teaser bubble, and where it shows set by URL rules and device
  • Multi-step flows, A/B variants and translations on paid plans
  • Views, emails captured and clicks on the “Analytics” page

Only in the Shopify app

  • The popup button adding the product to the cart
  • Checkout charging the price the popup showed
  • Purchase and revenue numbers
  • Conditions on the cart (cart total, a product in the cart)

Running a Shopify store? See the Shopify app.

Popups at add to cart and checkout on Webflow

Exit intent, timer, scroll and custom events work as soon as the tag is on the page. The “Add to cart” and “Start checkout” triggers need one more step, because PopupGenius cannot see your cart: tell it what those moments look like under “Advanced: cart and checkout detection” on the “Site” page. Until you do, the editor hides those two triggers.

Request pattern
Part of the address your site calls when a product is added. The popup opens only after a successful add.
Add to cart button selector
A CSS selector for your add to cart buttons. The popup opens on the click, before the add completes.
Cart page path
The path of your cart page. The popup opens when a shopper arrives there.
Checkout button selector
A CSS selector for your checkout buttons. The popup opens on the first click; when it closes, checkout continues.

If your cart opens as a panel instead of a page, there is no cart page path to enter: use “Checkout button selector” with a class your checkout button carries, so the popup opens on the click and checkout continues when it closes. A class you gave the add to cart button works for “Add to cart button selector”.

Popup templates for your Webflow site

Six of the templates in the PopupGenius gallery. Apply one, then change the words, colors and offer by typing.

  • The Lead Magnet popup: Grab the free guide, an email field and a Get the guide button

    Collect emails

    Lead Magnet

    Offers a free guide for an email address, then shows the download link.

  • The First Flame popup offering a 15% code for an email address and a first name

    Trade a code for an email

    First Flame — Code Reveal

    Asks for an email and a first name, then shows the discount code.

  • The Exit Survey popup asking what stopped the visitor, with three answers to pick from

    Catch someone leaving

    Exit Survey

    Asks what stopped them. On a paid plan each answer opens its own next screen.

  • The Mystery Gift popup: Open your surprise, an email field and a Reveal my gift button

    Make it a game

    Mystery Gift

    A wrapped gift that opens to a code once the visitor leaves an email address.

  • The Drop popup announcing The Autumn Edit, with the code DROP10 and a Shop the drop button

    Announce something

    The Drop

    A new collection, a code to copy, and a button to the page it is on.

  • The Flash Hour popup: 20% off everything, the code FLASH20 and a countdown clock

    Run a sale

    Flash Hour

    A sale code and a countdown to the end of the offer, with one button to shop.

Start free, pay when the popup has a job

The free plan is not a trial that runs out. It stays free, with one popup and a small badge on it.

Free

$0.00/mo

1 popup with 1 step, 20 AI credits and 500 popup views a month, with a small PopupGenius badge on the popup. Upgrade when you need more.

Starter

$9.99/mo

7-day free trial
  • 5,000 popup views a month
  • 100 AI credits a month
  • Unlimited popups and steps
  • No PopupGenius badge

Growth

$19.99/mo

7-day free trial
  • 25,000 popup views a month
  • 300 AI credits a month
  • Unlimited popups and steps
  • No PopupGenius badge

Pro

$39.99/mo

7-day free trial
  • 100,000 popup views a month
  • 900 AI credits a month
  • Unlimited popups and steps
  • No PopupGenius badge

Every paid plan includes unlimited popups, unlimited steps and A/B variants, translations, and no PopupGenius badge. Your first paid plan starts with a 7-day free trial. You pick one inside the app when the free plan runs out; there is nothing to choose now.

Questions about popups on Webflow

Which Webflow plan do I need?
Webflow allows custom code with an active Site plan, or on a Core, Growth, Agency or Freelancer Workspace. PopupGenius itself starts on its free plan.
Head code or Footer code?
Footer code. It puts the tag before the closing </body> tag on every page. Webflow notes that external scripts in the head can slow page loads.
I pasted the code but see nothing on the live site.
Publish the site: Webflow custom code goes live only on publish. Then check that the popup is published in PopupGenius and that you opened the address you registered.
Can I trigger the popup from a Webflow interaction?
Yes. Turn on the “Custom JS” trigger, then fire the event you named from your code, or call window.PopupGenius.show().
Can the popup add a product to my Webflow cart?
No. The button opens the product page you entered. Cart add and checkout prices need the Shopify app.
Is there a free plan?
Yes, and it does not expire: 1 popup with 1 step, 20 AI credits and 500 popup views a month, with a small PopupGenius badge on the popup. Upgrade when you need more. Paid plans start at $9.99 a month, and your first paid plan starts with a 7-day free trial.

Put your first popup on Webflow

Create the account, paste the tag, describe the popup. The free plan is enough to see it working on your own site.

On another builder: WordPress · Wix · Squarespace · Exit-intent popup · Email popup