How to Install a Tracking Script in Google Tag Manager to Fire on All Pages
How to Install a Tracking Script in Google Tag Manager to Fire on All Pages
If you need to install a tracking script (such as Google Ads, Meta Pixel, LinkedIn Insight Tag, or any custom code) on all pages of your website using Google Tag Manager (GTM), follow the steps below.
Step-by-Step Instructions
-
Log into Google Tag Manager
Visit tagmanager.google.com and open the container for your website.
-
Create a New Tag
In the left-hand menu, click Tags, then click New.
Configure the Tag
-
Paste Your Tracking Script
Copy and paste the entire tracking script into the provided HTML field.
Add a Trigger for All Pages
-
Optional: Support Document Write
If your script requires document.write, check the box labeled Support document.write (use with caution).
-
Save the Tag
Give your tag a descriptive name, such as "Tracking Script – All Pages", and click Save.
-
Preview the Tag
Click Preview to test your changes in debug mode. Visit your website to ensure the tag fires correctly.
-
Publish the Tag
Once you've confirmed the tag works as expected, click Submit and then Publish to make it live.
Need Help?
If you're not sure which type of script to use or how to verify it's working, contact our support team at support@visualvisitor.com for assistance.
Related Articles
Why Is My Tracking Script Not Firing After Installation? (Cache and GTM Publishing Issues)
If you have installed the Visual Visitor tracking script but your dashboard is showing zero visitors, one of the following issues is most likely the cause: · Cache not cleared: WordPress sites using caching plugins (WP Rocket, LiteSpeed, W3 Total ...
How Do I Install the Visual Visitor Tracking Script on Webflow?
Webflow allows custom code injection in its project settings and on individual pages, making it straightforward to install the Visual Visitor tracking script site-wide. Site-wide installation (recommended) In Webflow Designer, go to Project Settings ...
Tracking Script Installed but No Data Captured: Common Configuration Issues
If the Visual Visitor tracking script is confirmed to be installed on your website but visitor data is still not appearing in the dashboard, one of three configuration issues is usually the cause: a zero-ID budget threshold, a script conflict, or an ...
Installing Visual Visitor on Builderall
Add to the Entire Website (Global Script) Log in to your Builderall Dashboard. Go to "Website Builder" → "Cheetah Website Builder". Select your website and click "Edit Site". In the left panel, click "Settings" → "Scripts". You’ll see three options: ...
Why Is My Tracking Script Blocked by a Cookie Consent Banner?
Need Help Verifying Your Consent Setup? If you would like our team to review whether your cookie consent manager is configured correctly with Visual Visitor, please contact support@visualvisitor.com for assistance. The Visual Visitor cookie consent ...