Blog

Home > Analytics FAQs > How to add google tag manager to blogger?

How to add google tag manager to blogger?

Blogger is a free blogging platform by google, where you can host a free blog using a Blogspot subdomain

The best thing with blogger is that you can have access to html source code. You can insert code snippets and modify the code to add extra functionalities. Alternatively, you can add GTM container snippets to the blogger the way you add to any other site.

Popular FAQ: How to remove query string using GTM

Add GTM container codes to the Blogger template

In order to add the GTM container code snippet, open your blogger blog, and navigate to themes and click edit HTML.

blogger template

Now, GTM will give you two code snippets to insert in your blog, one in the head section and the other in the body section. Copy the first container snippet and place in the head section just before the </head> tag. Copy and paste the other container snippet just after the <body> tag.

Now, when you click on the save template button you will see the following error.

 gtm code error gtm code error

In order to resolve this error, you will need to add a single code change in the code snippet inserted in the head section.

You will have to change the ampersand(&) to its HTML encoded version(&amp;)

 ampersand ampersand  gtm code changes gtm code changes

Now click save template and you are done 🙂

 

Share:

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.

Blog

Home > Analytics FAQs > How to add google tag manager to blogger?

How to add google tag manager to blogger?

Share: