February 6, 2012

Adding Google Analytics to Blogger

Driving traffic to your blog is the key to earning revenue from adsense. In order to understand the success of your efforts, it’s important to be able to analyze the traffic that visits your blog. To do that, set up a Google Analytics account and I’ll show you how to add it to your blogger account. Once you have activated your Google Analytics account, there are a few steps to set up that look like this

  • Go to the main Settings page of Analytics.
  • Click on Add Website Profile. A form displays.
  • Select Add a Profile for a New Domain.
  • Enter the URL of your site or blog.
  • Select your country and time zone – then click Finish.
  • Analytics provides you with a code block – a snippet of HTML – to add to your site’s pages.
  • Highlight the code block and then copy it by selecting Edit > Copy or Ctrl-C or Command-C.

Once you have copied the snippet of code that you get from Google you can place it into your the layout of Blogger.com (no need to worry, it’s simple!).

  • click on the layout button
  • hit the edit html link below the layout tab

scroll to the bottom of the page and look for a piece of html that says:

</div> </div>
<!– end outer-wrapper –>
(Google Analytics code block goes here)
</body>
</html>

Take the code that you got from Google Analytics and place it in the section in blue above.

Once you have added your code and saved the changes on Blogger, it will take some time to update on Analytics, but once it does, you’ll be able to track how many visitors you receive and where they are coming from.