How to Insert Google Analytics Tracking Code into a Blogger Template - Guide

To insert Google Analytics Tracking Code into a Blogger Template is fairly easy to do.
First Add your BLOG to Google Analytics:
Steps: 
  • Log in to your Google Analytics account
  • In Google Analytics click on “Add Website Profile”under your current web-site.
  • Select “Add a Profile for a new domain” and thenenter the URL (domain name) in text box next towhere “http://” is listed (write it like “myblog.blogspot.com”) and hit “Continue”
  • Highlight the tracking code and copy it to your clipboard
There are two ways to integrate Google Analytics Tracking Code in Blogger
1st
You can track traffic to your Blogspot domain on Blogger with Google Analytics. Follow these steps to add the tracking code. 
  • Log in to your Blogger account.
  • Navigate to your blog's Settings > Other tab.
  • If you already have a Google Analytics account,simply enter your blog's Google Analytics Web Property ID (The property ID is a string like UA-000000-01)
  • Click Save to finish.
2nd  
Adding Code Manually 
  • Log in to your Blogger account.
  • Look for Template
  • Click Template
  • Select the 'Edit HTML' tab
  • Scroll to the bottom of the code.
  • Find the tag < /body>, which usually appears towards the end of the code in the template.
  • **Find the </head> tag^ (closing head tag)
Copy and past the Analytics tracking code just above the tag< /body> 
**Copy and paste Analytics tracking code, just before the closing </head> tag^. 
^One of the main advantages of the asynchronous snippet is that you can position it at the top of the HTML document. This increases the likelihood that the tracking beacon will be sent before the user leaves the page. It is customary to place JavaScript code in the </head>section, and Google recommend placing the snippet at the bottom of the </head>section for best performance. Read detail HERE
I have pasted the Google analytics code just above the </head> Tag 
  • Click 'Save Template.'

No comments:

Post a Comment