WooCommerce popups. One script, every page.

WooCommerce runs nearly half of the online stores W3Techs can identify, and most of the popup advice written for ecommerce assumes Shopify. This guide covers the three ways to put an email signup popup on a WordPress store, how to install one without touching your theme files, how discount codes, consent and caching work on WordPress, and how to check that signups actually reach your email list.

By the numbers

W3Techs surveys about the top 10 million websites, not every site; its shares are of sites whose ecommerce system or CMS it can detect.

Three ways to add a popup

A WordPress store can get a signup popup three ways. A WordPress popup plugin builds the form inside your admin and stores leads in WordPress or passes them to an email tool. Your email platform's own forms, such as Klaviyo's, publish from the email tool and send signups straight to a list. A script-based tool such as Veya runs from one line of code on every page and sends signups to your list from its own servers. Plugins sit closest to WordPress; the other two keep the popup out of your database and your plugin updates.

Klaviyo forms on WooCommerce

Klaviyo's official plugin, with 100,000+ active installs, connects WooCommerce to Klaviyo, syncs orders and browsing in real time and can add a newsletter signup and an email consent checkbox at checkout. Klaviyo says more than 13,000 WooCommerce brands use it. For Klaviyo's popups and embedded forms to appear, the site must load Klaviyo's onsite script, which the plugin adds. If a Klaviyo form doesn't show, that script is the first thing to check.

Install a script without editing your theme

Pasting code into a theme's header.php works until the next theme update overwrites it. A header-and-footer plugin keeps it safe. To install Veya, sign up at app.veyapopups.com, open Install, copy your script, then install the free WPCode plugin, open Code Snippets, Header & Footer, paste it into Header and save. Back in Veya, click Check again: it fetches your site and confirms the script is there. If the same store runs on more than one domain, you can add up to 5 extra domains.

Caching and optimization plugins

WordPress speed plugins combine, defer and delay scripts, and some delay third-party scripts until the first scroll or tap. That can make a popup late or stop it entirely. After installing any popup script, load the site in a private window on a phone and a laptop, then clear your page cache. If the popup never appears, exclude its script from your plugin's "delay JavaScript" or "combine" settings and check again.

Discount codes on WooCommerce

WooCommerce coupons live under Marketing, Coupons. A popup can show a single shared code you create there, which is the simplest setup but can be posted to coupon sites. Unique, single-use codes need the popup tool to create coupons in your store. Veya creates unique, single-use codes and applies them to the cart on Shopify only. On a WooCommerce store, Veya shows a code you create in WooCommerce and type into the offer, and it can't check or apply that code, so set its limits in WooCommerce itself.

Targeting that works off Shopify

On any website, Veya can target by page and URL, UTM parameters and ad clicks, referrer and traffic source, device, country, language, cookies, time and Klaviyo segments, with delay, scroll, exit-intent and click triggers and a frequency cap. Rules about the cart's contents and value need Shopify's cart, so they never match on WooCommerce. Page-type rules guess from URLs such as /products/, and WooCommerce uses /product/ by default, so target WooCommerce pages by URL path instead.

Consent and cookie banners on WordPress

On Shopify, Veya reads the store's own consent settings before it stores anything. On other sites it can't read your cookie banner, so it treats every purpose as allowed. If your store needs consent first, as most EU stores do, load the script only after a visitor accepts: most consent plugins can hold a script until then. The signup itself always records consent: Veya refuses an email signup without it and keeps the wording shown, the time, the page and the device for each one.

Sending signups to your email list

Veya connects to Klaviyo by OAuth and sends each form's consented signups to the list you choose, with the list's own single or double opt-in applied, so it doesn't depend on Klaviyo's onsite script. For another email tool, a webhook sends every signup to an address you choose. Whichever route you use, test it: sign up with a fresh address on a phone, then find that address on your list and confirm any welcome email arrived.

What it costs

WordPress popup plugins range from free to annual licences. Veya plans start at $50 a month for 10,000 monthly visitors and go to $100 for 20,000 and $150 for 50,000, with a 14-day free trial on every plan and 25% off yearly. Every plan includes custom designs and revisions; website stores are billed by card through Stripe.

Questions

How do I add a popup to WooCommerce?

Install a WordPress popup plugin, publish your email platform's popup through its WordPress plugin, or paste a popup tool's script into your site's header with a header-and-footer plugin such as WPCode. Then load the store on a phone and a laptop and make a test signup.

Does Klaviyo work with WooCommerce popups?

Yes. Klaviyo's official WordPress plugin connects WooCommerce and loads the onsite script Klaviyo's forms need. A separate popup tool can also send signups to a Klaviyo list through Klaviyo's API, without that script.

Can a WooCommerce popup give unique discount codes?

Only if the popup tool can create WooCommerce coupons. Otherwise use one shared coupon with a usage limit and an expiry set in WooCommerce. Veya's unique codes work on Shopify only; on WooCommerce it shows a code you create.

Why isn't my popup showing on WordPress?

The usual causes are a caching plugin serving an old page, an optimization plugin delaying or combining the popup's script, the script pasted into one template rather than every page, or a frequency cap hiding it after you closed it once. Test in a private window after clearing the cache.

Do I need a WordPress plugin for a popup?

No. A script-based popup only needs its code in the header of every page. A header-and-footer plugin is the safest way to add that code, because it survives theme updates.

Is a popup plugin slower than a script?

Either can be fast or slow. What matters is how much code loads before the popup is needed and whether it shifts the page. Measure with Google's PageSpeed Insights before and after you install it.

Sources

Figures checked November 12, 2026.

Your next popup?
We’ll build it for you.

14-day free trial on every plan. Custom design and revisions included.