1. Help Center
  2. Marketing
  3. Tracking & Social Media

How to add a popup page on your website 🤔

Screen Recording 2025-07-30 at 1.49.04 PM

 

This article will show you how to add a banner or pop-up on your website using GTM.

 


Notes: You must have a Google Tag Manager Account and have GTM connected on Zyda's dashboard. You can check this article to check [How to setup Google Tag Manager, Google Analytics 4 🤔]


1. Log in to your Popupsmart account. Click [Embed Code] on the left sidebar and choose [GTM] as the category. Copy the code from the modal with [Copy to clipboard]

embedcode modal gtm tab

2. On another tab, go to your GTM account and choose [Add a new tag] on the dashboard

add a new tag

3. Name your tag on the Untitled Tag and click [Tag Configuration]

tag configuration

4. To enter your Popupsmart embed code, you need to choose [Custom HTML]

custom html

5. Then, paste your embed code for the empty HTML field

popupsmart embed code with gtm

6. Scroll down to click Triggering and [All pages]. Choosing [All Pages] helps you make Popupsmart work on all your pages

Note: If you want popups to appear only on product pages:

  • In Triggering, instead of [All Pages] go with [Some Page Views]
  • Define a rule like:
    • Page URL contains /products/

That way, it doesn’t interrupt users on your homepage or blog as Popupsmart is script-based, it doesn’t slow down page load. Just make sure to publish the GTM container and clear your cache.

triggering

➡️ After clicking Triggering, choose the [+] icon in the upper-right corner

trigger plus icon

 ▶️ ▶️ For the Trigger Configuration, choose [Page view] as the trigger type

page view google tag manager

➡️ Choose [Some Page Views] and customize the conditions then click [Save]

view some pages tag manager

7. Once you have completed all the configurations, [Submit] all the changes

submit button on tag manager

8. Finally, you need to click on [Publish]

publish button on tag manager


To watch a short video on how to add a pop-up page on your website 🤔

Click Here