I'm sure I'm not the only one who gets curious about how many people actually read my blog or whether I'm just talking to myself. I'm amazed that Blogger doesn't have any stats available automatically (or does it?), so I thought a post about setting up Google Analytics might be in order.
[Creative Commons image found via Flickr, with thanks to sammydavisdog]
I have to say, I love Analytics. It's free (woohoo!) and yet it gives really in-depth information about your site - who's visiting? Where are they from? How long do they stay? How do they find their way around? What possessed them to come here in the first place? This screenshot shows the overview page - not very impressive stats, some might think, but I think it's amazing that I got a grand total of 35 hits last Friday for this very new blog.
In fact, it gives far more information than I'd ever need about this little blog, but has been really interesting for some of the more complicated websites I've worked with. I recommend checking out the Site Overlay feature as demonstrated here on the Ask About Ireland website. (Click on the image to see the larger version.)
Looking at the site as it appears to the user, you can immediately see whether people are using the links or images to navigate around the site, or whether they prefer to use that convenient search box in the top right hand corner. Hours of fun to be had following user paths through the site, and I'd imagine very useful for the library websites.
So how do we get all of this wonderful information about our incredibly popular blogs?
Step 1: Set up an Analytics account.
This part is easy, since we've all been playing with Google products already as part of 23 Things. Visit http://www.google.com/analytics, log in and click 'Sign Up'. Follow the instructions to enter your website url and do the user agreement process.
Step 2: Copy the tracking code
Copy the code from the box
Step 3: Paste the code into your site
This is the fun part! Luckily, because our blogs are based on a template we only have to paste the code into one page.
[Don't worry if you've never used HTML, you don't actually need to know any for this. If you're worried about making mistakes you could always copy the existing html and save it in Notepad or similar text editor so you can retrieve it easily.]
- From the Blogger dashboard, select the 'Design' tab.
- Click on 'Edit HTML'
- Look through the HTML to find where the header ends (it says /head in < and > brackets - blogger's driving me crazy not letting me put this in properly here!)
- Paste the tracking code just before where it says /head in < and > brackets
This won't change how your site looks, it'll just collect statistics to be sent to Google Analytics.
Have fun! And if you have any questions just ask and I'll try to help, but be warned, I'm no expert...
P.S. Hello to my readers in USA, Canada, Australia and South Africa (and of course my loyal followers here in the UK)!
P.P.S. If you like changing your templates, don't forget that you may need to reinsert your tracking code (as I just did, oops!)






Thanks for these instructions. I wait with baited breath to see you comes to visit me!
ReplyDeleteYou're very welcome! Rest assured that although I may not feature often in your stats I do read your posts through Google Reader. A slight flaw in the system, but never mind.
ReplyDeleteThanks! I have installed it too. I am now waiting for the 24hrs to pass before it starts giving me data.
ReplyDeleteGreat, let us know how you get on.
ReplyDeleteThank you for that! I'm going to give it a go!
ReplyDeleteOoh I've been relying on the Wordpress stats so had forgotten all about Google Analytics. May have another play with it so I can compare and contrast :)
ReplyDelete(Sadly, in reality, the stats can also lead to a "oh nobody's visiting today" feeling too in my case)
Not-at-all-stats-obsessed Celine
I've remembered now why I didn't go any further with Google Analytics on the other blog I edit - not available for WordPress.com blogs. And I couldn't get it (or the WordPress stats plugin) to work for my WordPress.org self-hosted site either. So no Analytics fun for me.
ReplyDeleteThe WordPress stats are pretty good though and will have to do for now.
Not-at-all-jealous-of-Blogger-stats Celine
Hi Celine,
ReplyDeleteMy husband has a Wordpress blog, apparently you should be able to edit the html for your template by going through your admin panel. I've done some googling and found a plugin as well for Google Analytics within Wordpress, http://wordpress.org/extend/plugins/google-analytics-for-wordpress/.
Hope that helps!
Niamh
Thanks Niamh. I've managed to install a Google Analytics plugin to my other website but Thingblogging is Wordpress hosted and they don't allow any plugins or Google Analytics. They do have pretty good stats of their own though, will maybe do a post about it this week so you can see what you get on WordPress hosted sites.
ReplyDeleteLooking forward to seeing the results of GA on my other site though (which I suspect nobody except me and the other editor ever visit!)
Celine
Done a little post with a screenshot of the WordPress stats if any Blogger users want to see what they're like.
ReplyDeleteCeline
Very helpful thanks. I will do this when I have some spare energy as it sounds very interesting and useful.
ReplyDeleteThanks for your clear instructions, have managed this too.
ReplyDeleteThanks for these instructions, very helpful. I think I have successfully installed it!
ReplyDeleteMerci beaucoup! Installed and waiting for data...
ReplyDeleteI feel so popular, thanks all for reading my post and trying Analytics as a result. Hope you're getting lots of useful info!
ReplyDeleteHaving a go. Thank you for the clear instructions.
ReplyDeleteThank you very much for these instructions.
ReplyDeleteThanks for the very clear instructions! I haven't found the right spot to insert the tracking code yet so will try again in a couple of days but may contact you in case it still fails. Thanks again!
ReplyDeleteHi Hélène,
ReplyDeleteI'm glad you found them easy to follow - do let me know if I can help with it.