Add Google Analytics To Blog
Google announced their new service, Google Analytics when I was away for the weekend. I suppose this is a replacement for Urchin (a paid website traffic analysis tool) since urchin.com is now forwarded to Google Analytics. I’m so busy that I don’t have time to add it to my blog until today.
The process of adding the service to my blog was very simple. I don’t have to do any new registration. My Gmail account can be used directly by just logging in. After logging in, I’ll have to provide some details about my blog before they show me a copy-and-paste code. The code looks much simpler if it is compared to other such codes.
I added the code to the footer.php of my blog. I also add some php code, the same way I did for my Adsense, to avoid the script to track my own visits. Now, I’ll have to wait till the statistic is out before I can say further about it.
Did I say that it's free? It is.
UPDATE: I just noticed that the code must be pasted in the header (<HEAD>) tag, instead of what I suggested. I'm not very sure if that will make any differences. I'll check it out tonight.
UPDATE: I managed to get correct statistics even I put the code in footer, instead of header as Google suggested. However, it takes a very long time to update the statistics. The statistics took approximately 2 days to be displayed and this is very bad.
If my article helped you solved your problem, consider buy me a beer!
Share this article: del.icio.us | digg it
Related posts: