How to Set up Popupsmart with Google Tag Manager
Follow our guide to seamlessly embed Popupsmart code via Google Tag Manager on your website.
There are three different ways to set up Popupsmart on your website by adding a provided single line of JavaScript code:
- Embed the code on your custom website
- Setup with popular CMS services
- Setup with Google Tag Manager
One-Time Setup
Adding the code to your website is a one-time requirement, so you won't need to repeat this process again.
How to Set Up with Google Tag Manager
Copy Embed Code
Log in to your Popupsmart account and go to your dashboard. Click on "Embed Code", which is located on the left sidebar. Then, copy your unique Popupsmart embed code from the GTM tab.

Set Trigger
Click on Triggering and select All Pages to allow Popupsmart to work on all your web pages. This way, you can add a popup to any of them without further configurations.

If you select All Pages, our system counts the pageviews of the whole website regardless of which page you added the popup to.
Pageview Note
A pageview is the amount of total page view requests from your added websites.
Important Limitation
If you make these configurations instead of All Pages, you won't be able to show popups on the pages that weren't specified in GTM. In that case, you must manually add those pages among the triggers.
Ad Blocker Notice
If you have an ad blocker on your browser, GTM verification is not going to work. Disable the ad blocker first to verify your website.
Still have some questions about embedding Popupsmart code to Google Tag Manager?
Feel free to contact us via email or live chat!
How is this guide?





