Wednesday, May 30, 2007

Use Google Analytics to spy on people reading your blog

As a web designer, I've long been fascinated by site visitor tracking statistics that can tell me all about who's visiting my sites. Up until recently, however, the choices for tracking site stats have been rather lame and not very detailed or even user-friendly. Today I'm here to tell you tricksy hobbitses about a relatively new, free service you might not have known about - Google Analytics. To get started, all you really need is a Gmail account.

Once you log in there, all you need to do is "create a new account" - at which point you'll enter your blog address and then be rewarded with a little nugget of code that should look like this:
</script>

<script type="text/javascript">

_uacct="UA-xxxx-x";

urchinTracker();

</script>

...which you'll then place carefully into your blog template, right before the end tag at the bottom. Then, once it's saved and ready to go, Google will start collecting information about your readers for you to study and exploit.

One of the benefits of having statistics to look at is so you can know how many people are lapping up your daily intellectual masturbation by simply looking at a graph right on the front page Dashboard. This is a major self-esteem killer, depending on how many readers you typically have visiting your blog and whether or not you consider that to be a respectable number. (Note: it takes a couple days to start collecting enough stats to make a pretty graph like this so chill out and be patient).



You can also see what part of the world those users are coming from, via a handy world map that allows you to zoom in to see how many of your rabid followers hail from Hoboken. As you can see, I have precisely one visitor from the continent of South America. Hello there, sir or madam.



And finally, you get to see some comprehensive keyword statistics and source sites that tell you if that erotic fiction you wrote about Santa Claus last year is still attracting new readers. In the picture below, you can see that most folks are finding my blog by searching for random numerical sequences in Google. What you don't see is that I'm also getting a hefty chunk of visitors coming here from Philly Will Do, which must mean that I have my head firmly planted up D-Mac's ass. Wonderful.



Google Analytics has a lot of other features that are useful for web designers (such as goal tracking and how many users still have 640x480 resolution screens) but are pretty useless to bloggers. That means that this lesson has come to an abrupt end. If you enjoyed this brief overview, I may review some other blog-tracking / blog-whoring tools in the future. However, Technorati hasn't worked once since I signed up for it, and you have to crawl behind the wall and crouch underneath the crawlspace to get Digg installed in Blogger -- so then again, maybe I won't.

Link: [Google Analytics]

1 comment:

GM-Carson said...

Thanks for the link, I exchanged the favor.