on-internet
← Community

How to force GTM to add tag in the ?

Stack Overflow ·

I've followed the below steps for adding AdSense script inside of my website: Now that you have the code head over to GTM. Create a new tag. Provide a name. Select custom HTML as the tag template. Copy and paste the code into the text field. Set the trigger to fire on All pages or the pages you want to serve ads on. Click Save and Submit to push the code live. I did it and all fine. Here is my full code: (define as a tag in google tag manager) <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ go

Comments

Sign in or sign up to comment and upvote.

No comments yet.