How to add a popup to BigCommerce
To add a popup to BigCommerce, paste Popupsmart's one-line embed code into Script Manager or your theme's base.html, then build and publish the popup in Popupsmart. Popupsmart needs no app from the BigCommerce App Marketplace, and every popup after the install is built, targeted and changed from the Popupsmart dashboard.
BigCommerce's own newsletter tool is a sign-up box, usually in the footer, not a popup.
Setup at a glance
- Runs on
- BigCommerce
- Where the code goes
Storefront → Themes → Edit Theme Files → base.html- Add-on
- No app needed
Before you start
You need access to the store's control panel and a Popupsmart account; a developer isn't on the list.
- A BigCommerce control panel login with permission to edit themes or use Script Manager.
- A free Popupsmart account. The free plan covers one website and one live popup, so you can finish this guide without paying.
- The address your shoppers use for the store, which Popupsmart verifies after the install.
How to add a popup to BigCommerce
Paste the embed code into a copy of your theme, then apply the copy. Working on a copy keeps the original theme untouched if you need to go back. The next section covers Script Manager, which adds the same code without editing theme files.
Step 1: Copy your embed code
Sign in to Popupsmart and click Embed Code in the left-hand menu.

Click Copy to clipboard. The code is one line, <script src="https://cdn.popupsmart.com/bundle.js" data-id="…" async defer></script>, and the data-id belongs to your account.

Step 2: Make a copy of your theme
In your BigCommerce control panel, click Storefront in the left-hand menu.

Click Themes, then open the Advanced dropdown on your current theme.

Click Make a Copy.

Name the copy and click Save a Copy.

Step 3: Open the theme files
When the copy appears under Themes, click its … menu and choose Edit Theme Files.

BigCommerce reminds you that it doesn't offer technical support for customizations made by editing theme files. Click Edit theme files to continue.

Step 4: Paste the code into base.html
In the file editor, open templates, then layout, then base.html. It is the layout every storefront page uses. Paste the embed code just before the closing </body> tag and click Save File.

The screenshot shows the code at the end of the home page template, home.html. Code placed there loads on the home page only; base.html puts it on every page.
Step 5: Apply the edited theme
Go back to Themes, open the copy's … menu and click Apply.

Choose the theme style your store uses and click Continue. The copy goes live on your store straight away.

Step 6: Add and verify your store
Back in Popupsmart, hover over the profile icon at the bottom left and click Websites. Click + New website at the top right.

Enter your store's address and click Save.

If the store shows as Unverified, click Unverified, then Verify website, and go back to the dashboard and click Refresh. The guide to verifying your website covers the other cases.
Step 7: Create and publish your popup
Click + New Campaign, name the campaign, choose your BigCommerce website and pick a ready-made or blank template.

Design the popup in the builder, then click Save and Publish.

A confirmation appears when the campaign is live. Open your store in a private window and check that the popup appears when its trigger fires.

Script Manager or theme files: which should you use?
Script Manager is the simpler place for Popupsmart's code on a Stencil theme: it adds the script to your storefront without editing theme files, and it ties the script to your cookie consent settings. According to BigCommerce's Script Manager guide, it sits under Storefront › Script Manager (in Channel Manager on Multi-Storefront) and works only on stores using Stencil themes.
Click Create a Script and fill in:
- Placement: Footer.
- Location: Storefront pages, which covers every page except checkout and order confirmation.
- Script category: the category that describes what the script does. BigCommerce's cookie consent banner uses it: shoppers who opt out of that category don't get the script. Shoppers can't opt out of Essential, which BigCommerce describes as scripts the site and its services need to work.
- Script type: Script. Paste the embed code with its
<script>tags; Script Manager won't save code without them.
Click Save, then add and verify your store in Popupsmart as in Step 6. When I set this up with a customer, I choose Storefront pages rather than All pages, so the popup code stays off the checkout and order confirmation pages.
The theme files suit a store that manages its theme in code. Use one method, not both: the help center warns that adding the code to the same site twice can make it malfunction.
Does BigCommerce have a built-in newsletter popup?
BigCommerce has no built-in newsletter popup. According to BigCommerce's newsletter settings guide, the store comes with a newsletter sign-up box, usually in the footer, and a subscribe checkbox at checkout. As of September 2026, both are controlled under Marketing › Email Marketing, where Show Newsletter Summary adds a short description to the box without turning it into a popup.
| BigCommerce's newsletter sign-up | Popupsmart | |
|---|---|---|
| What it is | A sign-up box, usually in the footer, and a checkbox at checkout | A popup on the pages and for the visitors you choose |
| When it shows | It's part of the page; there's no trigger | Exit intent, scroll depth, time on page, inactivity or a button click |
| Where the leads go | The store's subscriber list, which you export as a CSV file | Klaviyo, Mailchimp, SendGrid or another of the 19 destinations the help center lists |
| A/B testing | Not documented | From the Advanced plan |
| Price | Included with your store | Free plan; paid plans from $39 a month |
| Setup | Tick Allow Newsletter Subscriptions | One script in Script Manager or base.html |
If a footer box is enough and you already import the subscriber CSV into an email app, BigCommerce's built-in sign-up does the job at no extra cost. A popup earns its place when you want to ask at a chosen moment, such as when a shopper is about to leave or has scrolled through a product page, and to send each signup straight to your email tool instead of through a CSV export. One caution from the same guide: for stores in the EU or selling to EU shoppers, ticking the newsletter checkbox by default risks non-compliance with GDPR.
How do you add a free email popup to BigCommerce?
A free BigCommerce email popup is a Popupsmart campaign on the free plan, which is permanent, not a trial: one website, one live popup and 5,000 pageviews a month, with Popupsmart branding. Install the code as above, start a campaign with an email form, and connect the tool that keeps your list in the campaign's Integration section.
Popupsmart then sends every email address the popup collects to that tool, so the leads don't sit in Popupsmart or in a CSV file. The Klaviyo popup guide and the Mailchimp popup guide walk through a connection, and phone numbers and SMS consent can go to Klaviyo, Mailchimp and HubSpot. A webhook, Zapier or Make covers a tool that isn't among the 19 destinations.
How do you show a popup only on some BigCommerce pages?
A BigCommerce popup shows on the pages its campaign targets, not the template you paste code into. Keep the code on every storefront page and give each campaign a URL rule that shows or hides it where the address contains or matches a keyword, such as /sale. You can move a popup to other pages later without editing the theme again.
The trigger deserves the same attention as the page. Across 500 Popupsmart campaigns analysed in 2026, 95.4% fire as soon as the page loads and only 2.0% use exit intent, as the exit-intent study reports, so when a popup fires is the lever most campaigns never pull.
Popup ideas for a BigCommerce store
A store's popups usually grow the list or save the sale:
- Free shipping in exchange for an email: the free shipping popup recipe.
- A last offer at the cart for shoppers about to leave: the cart abandonment popup recipe.
- A product launch with a countdown and a signup: the countdown popup recipe.
- A last try at a bounce on any page: the exit-intent popup recipe.
Does a popup slow down a BigCommerce store?
A Popupsmart popup doesn't hold up your BigCommerce pages: the embed code loads asynchronously (async defer), so the browser finishes building the page before it fetches Popupsmart. The popups themselves are built and stored in Popupsmart, not in your theme's files.
Popup not showing on BigCommerce? Check these
When a BigCommerce popup doesn't appear, check where the code went first, then the shopper's consent settings and the store's verification:
- The code is on the home page only. If you pasted it into
home.html, move it totemplates/layout/base.html, or use Script Manager. - The edited copy isn't the live theme. The code runs only after you apply the copy you edited; check which theme is current under Themes.
- The shopper opted out of the script's category. With the cookie consent banner on, a Script Manager script in a category the shopper declined doesn't load for them.
- The script was just saved. BigCommerce caches scripts for 20 seconds, so a new script can take a moment to appear.
- The code is installed twice. Keep the theme file code or the Script Manager script, not both.
- The store isn't verified, or the address doesn't match. A campaign runs only on a verified website, and
www.example.comandexample.comare different sites to a browser. Add the address your shoppers actually use.
Still stuck? Contact Popupsmart support with your store's address and the campaign name.
BigCommerce popup FAQ
Do I need a BigCommerce app for popups?
No. Popupsmart runs from its embed code, added through Script Manager or to your theme files, so there is nothing to install from the BigCommerce App Marketplace.
Do I need coding skills to add a popup to BigCommerce?
No. You paste one line of code into Script Manager or your theme's base layout once. Everything else, from the design to the targeting, happens in Popupsmart's visual editor.
Will the popup work with any BigCommerce theme?
Yes, with the right method. Script Manager is available on stores using Stencil themes, and if you edit files instead, the base layout every storefront page uses has a closing body tag where the code goes.
Does Popupsmart work with BigCommerce's cookie consent banner?
Yes, through Script Manager. The script category you choose when you add Popupsmart's code is what BigCommerce's cookie consent banner uses, so a shopper who opts out of that category doesn't load Popupsmart. BigCommerce recommends Script Manager over the legacy Footer Scripts field for this reason.
Do Popupsmart popups work on mobile?
Yes. Popupsmart popups are responsive, and you can switch the editor to the mobile view to check and adjust how a popup looks on a phone before you publish it.

