Saturday, October 3, 2009

Monitoring Traffic for Blogger Hosted Sites

I started using Blogger yesterday and from earlier experiences, I wanted to know how to monitor traffic for these types of hosted sites. It gives an indication as to what content is being looked upon more often (and its also a booster to post more if you have more people reading ur blog :-))

Blogger doesnt have a way to monitor traffic on its own unlike Wordpress, where the Dashboard will tell you on a post-by-post basis as to the number of people who visited that particular page. Instead we could do this through Google Analytics. Here are the steps

  • Login using your Gmail account to Google Analytics 
  • In the Dashboard section, create a new profile. This screen allows you to enter the domain name of the site where you want traffic monitored. Enter your blog address (xxx.blogspot.com) and give a suitable name for it
  • The following page will give you a piece of javascript that you will have to copy-paste and add it to your Blogger HTML template. Within Blogger, go to your Layout page and onto the "Edit HTML" link. In the "Edit Template" textbox, go to the bottom of the page and just before the ending body tag, add this piece of javascript obtained from Google Analytics
  • Thats it. Finish creating the setup on Google Analytics.
  • When you visit the Dashboard for Google Analytics immediately, the "status" column will give you an indication as to whether you entered the javascript correctly or not. This doesnt happen immediately and might take upto 24 hours according to Google. In my case, it happened in about an hour or so. If the "Status" column indicates a warning symbol, then there could be something wrong and this page should say what went wrong. There is also a video available from that page that shows how to add the tracking code
  • Wait for 24 hours and you should see data coming into Google Analytics.

No comments:

Post a Comment