Overview
Your pop-ups need SmartrMail’s code on your store before shoppers can see them. On Shopify, BigCommerce and WooCommerce you don’t paste any code. If your store is on Maropost Commerce Cloud (formerly Neto), or you use SmartrMail with no store platform, you paste the code into your site once. After that, every pop-up you turn on appears.
Which stores need the code
Shopify: no code. Turn on the SmartrMail PopUp app embed in your theme instead. See Create a sign-up pop-up.
BigCommerce: no code. SmartrMail adds its script to your store when you turn on a pop-up.
WooCommerce: no code to paste from SmartrMail.
Maropost Commerce Cloud (Neto): paste the code once.
No store platform: paste the code once.
The Install code button only appears on stores that need it. If you don’t see it, you have nothing to install.
How to install the code
In SmartrMail, go to Grow → Pop-ups.
Click Install code at the top right.
In the Install pop-ups on your store window, click Copy code.
Add the code to your site. The steps for each setup are below.
Click Done.
Maropost Commerce Cloud (Neto)
The window lists these steps too, with a link straight to your Custom Scripts page.
Log in to your Neto admin.
Open Custom Scripts.
Click Add New.
Name the script SmartrMail Popup.
Click Page Footer.
Paste the code into the text area.
Click Save.
Any other website
Paste the code into your site’s footer, so it loads on every page. If you don’t edit your site’s code yourself, send the code to your developer or your hosting provider.
Turn on and test your pop-up
Go to Grow → Pop-ups and open your pop-up.
Click Turn on at the top right. You can also use Turn on in the pop-up’s row menu on the Pop-ups page. Its status changes to Live.
Open your store in a private or incognito window and wait for the delay you set.
Good to know: testing
Use a private window: once a visitor has seen a pop-up, it waits for its Show again after period before showing again in that browser.
Check the devices: a pop-up only shows on desktop or mobile if Show on desktop or Show on mobile is ticked in its Settings tab.
One code for all pop-ups: you don’t need new code when you create or turn off a pop-up.
FAQs
Click a question to open it.
I don’t see an Install code button. What do I do?
I don’t see an Install code button. What do I do?
Nothing. The button only appears on Maropost Commerce Cloud (Neto) stores and stores with no store platform. On Shopify, turn on the SmartrMail PopUp app embed. On BigCommerce and WooCommerce there’s no code to add.
I’m on Shopify. Do I need this code?
I’m on Shopify. Do I need this code?
No. Shopify shows SmartrMail pop-ups through the SmartrMail PopUp app embed in your theme. The top of the Pop-ups page says Theme app embed on or Theme app embed off. If it’s off, click Open theme editor in the banner and turn the embed on.
Do I need a new code for each pop-up?
Do I need a new code for each pop-up?
No. Paste the code once. Every pop-up you turn on then uses it.
I added the code but my pop-up doesn’t show. What should I check?
I added the code but my pop-up doesn’t show. What should I check?
Check that the pop-up’s status is Live, that it’s set to show on the device you’re testing, and that you waited for its Show after delay. Then try a private window, because a visitor who already saw it won’t see it again until Show again after has passed. If it still doesn’t show, check the code is in your site’s footer on every page.
Need a hand with installing pop-ups?
Our team is happy to help. Book a 1:1 call with the SmartrMail team and we’ll set it up with you.

