Thursday, February 22, 2007

Google Analytics

Some time back I had considered moving to I had thought about doing so I could see statistics and such for the blog. Then I found that I could do it with Google Analytics.

Google Analytics is ridiculously easy to setup. You sign in with your Google account, and tell it the domain you want to watch. Then you paste in a little snippet of javascript at the bottom of each page you want to track.

Using Blogger, this is simply done by choosing to 'customize' your template. You click on the 'edit html' link and scroll down to the bottom. Just before the last </body> tag you paste in the snippet. You're done, every page in your blog is merged with this template and will get tracked automatically.

Watch out though! This is where I ran into trouble...
If you switch templates at all you have to paste that code back in there, or you'll lose all tracking for 2 weeks like I did :(

No comments: