Installing Google Analytics on a Blogger blog is easy, and it doesn’t even involve copy-pasting Javascripts.
I) Creating an account with Google Analytics
- Go to Google Analytics, click the “Sign-Up Now” link on top right corner of the page and sign in to your Google Account.
- On the next page click the Sign up button.
- Next
supply all the necessary details like account name, blog URL you wish
to track, time zone, data sharing preferences, and your country or
territory.
- Read the terms of service and tick the “Yes, I agree to the above terms and conditions” checkbox.
- Click Create Account button and you’ll be taken to Tracking Code Configuration tab.
- The
next step is to find the Web Property ID (a.k.a UA number) -a unique ID
given to the account you just created. Disregard all other items in
this tab, the only thing you need is the UA number.
- Copy the UA number as you’ll need to paste it later on.
II) Installing Google Analytics on your blog
This is a two-step process. First you need to register the Web Property ID with Blogger, and then import the tracking code into your template.-
Adding Google Analytics ID to your blog
- If
you are using the new Blogger interface, click the dropdown menu next
to the name of the blog you wish to track and navigate to Settings >
Other > Google Analytics. (For old interface, go to Settings >
Basic > Google Analytics Web Property ID).
- Paste in the UA number into the Google Analytics Web Property ID text box.
- Click Save Settings.
- If
you are using the new Blogger interface, click the dropdown menu next
to the name of the blog you wish to track and navigate to Settings >
Other > Google Analytics. (For old interface, go to Settings >
Basic > Google Analytics Web Property ID).
-
Importing your tracking code
The following call code will insert the GA tracking code into your blog:
<b:include name='google-analytics' data='blog'/>
If you are using a latest Layout or Dynamic Views template from Template Designer gallery, you can skip the following steps because it already has the code built-in. The same applies to mobile templates.
But if you are using an older Layout template or a third party template you might need to add it into your template manually. Here’s how:
- Go to Template > Edit HTML (for old interface it’s Design > Edit HTML) and locate the
</body>
tag. - Insert the code right above the tag (if the code isn’t already there).
- Save your template.
- Go to Template > Edit HTML (for old interface it’s Design > Edit HTML) and locate the
Enjoy!
0 comments:
Post a Comment