Blog

Home > Analytics FAQs > How to Deploy tag manager snippet on any website?

How to Deploy tag manager snippet on any website?

we all know the fact that without having admin access we can not add the tag manager container snippet. But in this guide, I will show you how you can deploy your google tag manager code snippet on any website and for testing.

Step1: Install the Adswerve dataLayer Inspector+. This extension runs your code snippet on any website.

Step2: Open any website you want to test your GTM code. For instance, We want to test the scroll tracking tags just created in my new tag manager container.

Step3: Click on the injector icon to open this extension.

Step4:  On the injector window, click on advanced options (+). Then click on Add functionality (+). On the pop up box, enter the domain name(i.e marketlytics.com just the domain name not the full url) and click on create button.

Step5: Check box 'insert GTM container' copy the GTM container code and paste in the code area. Write website name in Host text box. Click on the save button.

Your settings should appear like

Step6: From your tag manager account enter the preview mode and open the website in a new tab.
In the preview mode, you can see which tags are firing and which are not.

 tag manager preview mode

You can see the scroll tracking tags are fired on a website to which we don't have access to backend code.

Share:

Hussain

Analytics Strategy Pioneer

C-Suite Whisperer 14 Years Industry Vet

Case Studies

Discover our latest success stories and see how innovative strategies drive measurable results.

Get a Free Attribution Dashboard

Gain clear insights into what’s driving conversions and optimize your marketing spend with ease.

Are you Ready to Fast Track your Marketing Attribution Decisions and Maximize your ROI?

Businesses that leverage automated marketing
attribution see a 20-30% improvement in ad
spend efficiency.