Sunday 27 September 2009

How to add Google Analytics code to your Blogger blog



So you've managed to get our blog up and running be it through Wordpress or Blogger.com and we are eager to get traffic to it (10 things to increase traffic to your blogand rank well with Google (Blogger tips to get started). Fair play. 


How do we find out who, if anyone, is finding your blog? One answer Google Analytics! Here are 3 simple steps to setup full Analytics tracking for your Blogger blog.


2. STEP How to setup an Analytics account for your Blogger blog
1. Setup and account with Google Analytics at http://www.google.com/analytics/ with your Gmail username and password or your email address and password for your google account (If you don't have a Google account click here to set one up for free).
2.  Go to 'Overview' and select Add new profile. If you are a first time Analytics user the setup process will get you there automatically, just follow the next steps.
3. Enter the URL of your website or blog (e.g http://mygybe.blogspot.com)
4. Choose your Country and time zone
5. Click Finish
6. Google Analytics now provides you with a tracking code, 1 urchin.js and 1 ga.js to add to your webiste or blog. Use the new ga.js as it's the newer format and Google will in time remove the urchin.js codes (read more about urchin.js or ga codes? at Google's analytics blog).
7. Select and copy the code - Ctrl-C (Win), Cmd-C(MacOS)
Note: Make sure that you copy the entire code and don't use both urchin.js and ga.js code.
Easy, first step done


2. STEP How to add the analytics account to your blogger blog
1. Login to your blog at www.blogger.com with your username and password
2. Load the Dashboard, select the blog you want to track and click layout
3. Select Edit HTML (don't worry we won't do any coding)
4. Backup a copy of your template by clicking Download Full Template (better safe than sorry)
5. Go to the end of the html code and find

6. Place the cursor right before the body tag
7. Paste you Google Analytics code, Ctrl-V (Win), Cmd-V(MacOS)  
Not that hard either, second step complete.


3. STEP: Check if the Analytics code is working for your blogger blog
1. Log into Google Analytics with your username and password
2. In the Overview check the symbol next to your blog profile url. Check Mark (receiving data) means tracking is successfully installed and the Triangle means something didn't get picked up.
3. If you see the triangle please just repeat the 2. STEP and refresh Analytics until you see the check mark. Don't worry it happens a lot.
Job done! Enjoy full visibility of your blogger blog.


Analytics updates overnight so you won't be bale to see and visits and data until the next morning. Analytics give you both clicks and unique visitors as well as data about location were the clicks came from and how the visitor got to your site (e.g. search engine or direct click).


If you have something to submit or sell on your blog you can further setup goals with Analytics to track conversions. Find out more about goals in Analytics Help.