How to install Google Analytics on a Blogger blog
Google Analytics (GA) is a free service that generates detailed statistics about the traffic and visitors to a website or blog. In addition to the usual traffic metrics ( page views, visits, unique visitors, bounce rate, time on site, etc. ). Google Analytics also provides comprehensive statistics on blog/website audience, traffic sources, content, keywords and more.
Adding Google Analytics to a Blogger blog is easy, and it doesn't even involve copy-pasting JavaScripts.
Creating an Account with Google Analytics:
Step-1. Go to Google Analytics, click the Sign-Up Now link on top right corner of the page and sign in to your Google Account.Step-2. On the page, click the Sign Up button.
Step-3. 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.
Step-4. Read the terms of service and tick the "Yes, I agree to the above terms and conditions" check box.
Step-5. Click Create Account button and you will be taken to Tracking Code Configuration Tab.
Step-6. The next step is to find the Web Property ID (a.k.a UA number) - a Unique ID given to the account which you have created. Disregard all other items in the tabs provided, the only thing you need is the UA number.
Step-7. Copy the UA number as you will need to paste it later on.
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.Now let just start how to add Google Analytics ID to your Blog -
Step-1. If you are using the new Blogger interface, click the dropdown menu next to the name of your blog you wish to track and navigate to settings >> Other >> Google Analytics. (For old interface, go to Settings >> Basic >> Google Analytics Web Property ID).
Step-3. Now, click Save settings, you are done.
Adding your Tracking code:
The following <include> tag will import your 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 <include> tag built-in. The same applies to mobile templates.
But if you are using older Layout template or a third party template you might need to add it into your template manually. Here is how you can do:
Step-1. Go to Template >> Edit HTML (For old interface it's Design >> Edit HTML) and locate the </body> tag.
Step-2. Insert the code right above the tag (if the code isn't already there).
Step-3. Save your template.
It could take 24 hours before your first data to appear in your account. This is because Google Analytics updates reports every 24 hours. Come back to Google Analytics Dashboard the next day and if everything is in order you will see your stats !
If you like our post, just subscribe us. Enjoy !
Post a Comment