A blog about technical knowledge.


Tuesday, 17 October 2017

How to install google analytics in blogger


Hi guys, in this tutorial I will show you how to implement google analytics in blogger. This will help you to track your audience interest and their attraction towards your blog post. This is a free tool provided by google, you can track how your visitors are interacting with your blog.

Step 1

Go to the Google Analytics Webpage, and click on Signup button.

Step 2

Now, you need to enter your website details. Don’t worry Google Analytic did not provide a different kind of dashboard if you selected any other industry category for your site. Here, standard time zone gives you accurate reports in hours, so do not forget to choose the right time, as per your country name.


Step 3

Now, Click On Get tracking ID.

Step 4

Now accept terms of service. 

Step 5

Now, you will see a tracking code window, like this.


Now we have to add Google Analytic in your blogger blog. We can do this in two different ways. The first method requires tracking ID (like UA-XXXXXXXX-X) only, and the second method required complete JavaScript code.

Method 1: Add Google Analytic Tracking ID directly in Blogger Settings

This method is very simple if you’re using Blogger official theme. Because in this method you just need your tracking ID, and blogger will place complete JavaScript code automatically in your theme. So you can try this first.

Step 1

Go to the setting menu and then click on other option.


Step 2

Now, scroll down a little bit, and you will see Google analytic option, so just place your Analytics ID (for example UA-XXXXXXXX-X), and click on save settings.
This method sometimes does not work with custom/third party blogger theme, so check your source code to know whether the analytic code is implemented successfully or not.

read also: how to check google analytics code implemented successfully or not

Method 2: Add Google Analytics Codes Manually in your Blogger Theme.

Step 1

First of go to the template option and click Edit HTML option.

Step 2

Now, Press CTRL+F from your keyboard and find the </head> tag in your template, and paste your analytic codes just above it. Refer below screenshot for better understanding.


Now, check out your source page again to make sure, you have implemented code successfully or not. Make sure there are no twice codes. Otherwise, you’ll see double/wrong reports number for the same visitor. So be careful about that.
And now guys if you have any question related to this topic, always feel free to leave your comments below!

No comments:

Post a comment