Monday, April 4, 2011

Add Google Analytics code to Blogger templates

It is a very good idea to have detailed stats from your site visits, you probably know Google Analytics, you can track visitors by country and many more criteria it is a fantastic stats tool.

With Blogger you don't need to do any site verification to insert the Google Analytics code, you just need to be connected with your gmail credentials

With the old blogger template:

1. Grab your analytics code (copy)
2. On Blogger click on the Layout tab and choose HTML
3. Copy the Analitics code before the ending body tag

With the new blogger templates (blogger in draft)

1. Copy the Analytics tracking code
2. On Blogger, go to the Layouts > Page Elements tab and click one of the "Add a Gadget" links
3. Choose "HTML / JavaScript"
4. Paste the Analytics tracking code into the text area
5. Save (window will close)
6. On Layouts > Page Elements, drag the new HTML / JavaScript gadget into your blog's footer. You'll want it to be the last gadget on the page.

That's it


website design said...

This post is really helpful for me. I successfully add my Google Analytics code on my blog site. Thanks for this post….

Maria M. Olivares said...

Yes, even though blogger has statistics features, Google Analytics is the best tool to track visits and it helps you improve your blog.

Post a Comment

Your opinion is very appreciated, thank you!