Follow by Email

Saturday, June 04, 2016

Google Tag Manager 1.1 : Adding tag manager script to blogger blog

You have already seen how to create Google tag manager account and container after that next step is adding container  script on every page of your website .  If you have a static HTML site then you can easily  to that but if you have a content management system based dynamic site then it would be bit technical.
Today we will see how to add this script on blogger (or blogspot )blog which is a free blogging searvice by google . At first copy you google tag manager container script to a notepad . In this script you will see a "&" sign change this-sign with HTML value of & which is "&" this is a required step because this script will be placed on blogger template that require absolute HTML .
here is an example if of tag manager code placed on this blog :

<!-- Google Tag Manager -->
<noscript><iframe src="//"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
<!-- End Google Tag Manager -->

On next  Next step , Go blogger dashboard , click on template , there you will see a button edit HTML

Paste you edited script on proper place in template and all is do now you can move further for adding tags in tag manager .

No comments:

Post a Comment


Sample text

Sample Text

Sample Text