How to add google analytics to your blogger/ blogspot blog

Adding the google analytics code to your blogger template code is very easy, just follow these steps carefully:

1. You need a google account, if you don’t have one, create your free Google Account here.

2. Sign into your google account and go to Google Analytics and click on “Add Website Profile” at the bottom of the page, make sure that “Add a Profile for a new domain “ is ticked and enter the url of the blog/ site you want to analyse and hit finish. You are now presented on the next page with a piece of code. That is your google urchin tracking code. Ok, leave this window open and open a second window in your browser.

3. Go to the dashboard of your blog and look for Layout>Edit HTML. Don’t skip this back-up step!!!! Back up your blog by “Download Full Template” and save it to your hard disc. Important! Don’t skip this back-up step!!!!

4. Go back to your google account and copy your analytics code and paste it into the template, just before the last “</body>” at the end of the page (scroll down). Save your template. Go to your google account and click “Finish” Done! If you have followed all steps than you should see now your new web site profile in your google analytics account.

5. It takes some time, up to 24h, until the first data appears. Please be patient 😉

6. In case something went wrong and/ or you want to restore your original files without the google analytic code, just upload your back-up file from your hard disc and click “save template” again. That will revert your blogspot/ blogger template to the state before you added the code.

If you like this blog post and found it helpful, why not share it with your preferred social network? Handy links and bookmarklets above ^^^ 😉

10 comments to How to add google analytics to your blogger/ blogspot blog

  • Viewoffed

    Great site this hospitalera.com and I am really pleased to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor 🙂

  • hospitalera

    @Viewoffed
    Glad that you like my site, hope to see you soon again 😉

  • NuncScoub

    excellent site this hospitalera.com brill to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor 🙂

  • hospitalera

    @NuncScoub
    Glad you enjoyed my post 😉

  • sam@tv

    analytics is a great tool to monitor your users and it doesn’t show bot visits like many other analytics tool shows in your traffic. I have noticed a great difference between GA and cpanels analytics programs at my selfhosted blogs.

  • hospitalera

    @am from stv
    Interesting thought, I don’t check my cpanel analytics very often, perhaps I should, SY
    PS Please link next time to a site I can read, English, German, French and Spanish are fine.

  • Mike

    Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had fun writing this article.

  • hospitalera

    @Mike
    Glad to hear this blog was useful to you 😉 SY

  • Fantastic site, I really like your writing style. Very distinctive and easy to follow. On a lot of blogs people just drone on and on, but not you – very nice. Keep up the fine work! Don’t have time to read everything here, I found your site while looking for something else on Bing. But I’ve bookmarked your homepage and will visit it regularly to read the latest. I find Ebay’s affiliate program very interesting. I have learned a lot in staring a small blog about it myself. Seems like there is something new to learn constantly. Please check out my web site at http://www.LinkThe.com. Thanks again!

  • Hi, Thanks for the great help I have a asp.net website but the pages with .aspx extensions do not show the hits can you tell me why this is happening thanks