Home SEO Tools FAQs Guest post Contact Donate

How to install Google Analytics on a Blogger blog

| 14 comments

google analytics to blogger Google Analytics (GA) is a free service that generates detailed statistics about the traffic and visitors to a website or blog. In addition to the usual traffic metrics (pageviews, visits, unique visitors, bounce rate,  time on site etc.), GA also provides comprehensive statistics on website/blog audience, traffic sources, content, keywords and more.

Adding Google Analytics to a Blogger blog is easy, and it doesn’t even involve copy-pasting Javascripts.


I) Creating an account with Google Analytics

  1. Go to Google Analytics, click the Sign-Up Now link on top right corner of the page and sign in to your Google Account.
  2. On the next page click the Sign up button. 
  3. Next supply all the necessary details -account name, blog URL you wish to track, time zone, data sharing preferences, and your country or territory. create google analytics account
  4. Read the terms of service and  tick the “Yes, I agree to the above terms and conditions” checkbox.
  5. Click Create Account button and you’ll be taken to Tracking Code Configuration tab.
  6. The next step is to find the Web Property ID (a.k.a UA number) -a unique ID given to the account you just created. Disregard all other items in this tab, the only thing you need is the UA number.GA web property id UA number
  7. Copy the UA number as you’ll need to paste it later on.

II) Installing Google Analytics on your blog

This is a two-step process. First you need to register the Web Property ID with Blogger, and then import the tracking code into your template.

  • Adding Google Analytics ID to your blog
    1. If you are using the new Blogger interface, click the dropdown menu next to the name of the blog you wish to track and navigate to Settings > Other > Google Analytics. (For old interface, go to Settings > Basic > Google Analytics Web Property ID). GA web property ID in blogger
    2. Paste in the UA number into the Google Analytics Web Property ID text box. 
    3. Click Save Settings.
  • Adding your tracking code

    The following <include> tag will import your GA tracking code into your blog:

    <b:include name='google-analytics' data='blog'/>

    If you are using a latest Layout or Dynamic Views template from Template Designer gallery, you can skip the following steps because it already has the <include>  tag built-in. The same applies to mobile templates.

    But if you are using an older Layout template or a third party template you might need to add it into your template manually. Here’s how:

    1. Go to Template > Edit HTML  (for old interface it’s Design > Edit HTML) and locate the </body> tag.
    2. Insert the code right above the tag (if the code isn’t already there).
    3. Save your template.

It could take 24 hours before your first data to appear in your account. This is because Google Analytics updates reports every 24 hours. Come back to Google Analytics Dashboard the next day and if everything is in order you will see your stats!

Enjoy!

14 comments to "How to install Google Analytics on a Blogger blog"

Aditya Sam January 7, 2012 4:44 PM    

Thank you so much... Saved some page speed :)

shree@SOFTECHNOGEEK January 7, 2012 9:02 PM    

added this to my blog

zulkbo January 7, 2012 9:34 PM    

b egitu senang sekarang
berbanding sebelum ini
kita perlu masukkan dalam
bentuk script dalam css

Raj January 8, 2012 12:12 AM    

I wish it was as easy as this in WP too... When I first had a look at all the code, I sort of freaked out. But these days I am more comfortable with inserting small things into the code!

Gaurang January 8, 2012 5:04 PM    

Very useful info. Thanks a lot. :)

conference gifts January 10, 2012 12:21 PM    

google analytics is a great tool since it shows you accurate stats and report monthly. Or even daily were in it sends you statistics and current status of your site.

custom items January 12, 2012 2:42 PM    

Doesn't Blogger have it as a plugin? I always thought they did. Anyways, I'll check it out again. Could be my mistake though.

kingrpg January 15, 2012 9:24 PM    

my sub-domain of blogspot is work, but my domain is not work, how to fix?

Greenlava January 16, 2012 7:04 PM    

@kingrpg
As long as your (custom) domain uses Blogger, the process is same...and it will work.

EMMANUEL F. KUMAH January 23, 2012 8:06 PM    

just tried mine, would check it tomorrow to see if it works.Thanks

ohcikgu January 24, 2012 8:42 PM    

Its easy. I also already do that. Hehe..

Blogging Made Easy January 29, 2012 5:37 PM    

Thanks. I have added this Code in my blog. Nice tool, I can now able to find my traffic source, visits, users etc. in detail.

Oriental Film House January 29, 2012 8:33 PM    

I added this to my site as well. Hope it works. Steps were easy to follow, so should be ok. Thanks!!

Website Consultancy February 23, 2012 12:37 AM    

Easiest find on the web for adding Google Analytics to a Blogger Blog.

Many Thanks

We love to hear from you! Leave us a comment.

If your question is unrelated to this article, please use our Facebook page.
When posting HTML/XML code, replace < and > symbols with [ and ] respectively. The reverse applies when copying code from my replies here.

Pls share this page

Get this
Click to go to top Click to comment