Blog by Debabratta Jena
Install Google Analytics in websites to analyse web traffic Install Google Analytics in websites to analyse web traffic and run remarketing | Google marketing platform

Install Google Analytics in websites to analyse web traffic

Last modified on Dec 12, 2020

What is Google Analytics


Google analytics, one of Google's marketing platform that provides tool to analyse web traffic and running a remarketing campaign accordingly using Google Ads. It helps to better analyse the users or site visitors behaviours and interests in a webiste, mobile app or any online system.

Say, you own an online business or an E-commerce webiste. So, it is very obvious that you will be interested to know how does your online business performs, like how much traffic it generates towards itself on daily basis. What medium does your users choose to access your webiste, mobile or desktop. Based on this you will concentrate on, to increase the efficiency of different version of websites.
You may also want to analyse your users activities, like what pages in your website they like to visit very often and how much time spent on them. Not only this you can also track who makes a transaction or buys an item and who did not. Based on this available data provided by Google Analytics you can run a special remarketing campaign, linking Google Ads with Analytics account.

How Google analytics work



Google analytics works by adding a specific code of javascript called tag in each and every page of the website that you want to analyse. This tag contains a unique tracking id. When we add a website in an analytics account, it is termed as property. After adding a webiste, a unique tracking id is associated with the property or we can say website. This tracking id along with javascript snippet is add to each and every page of the website that need to be analysed.

Recently, Google Universal Analytics has become Google Analytics 4 which was previously known as (App+web) property.



Install Google analytics and analyse web traffic


Step 1:

One need to have a Google account to setup an analytics account. Go to Google analytics and set up an account.



Step 2:

Create an account name.
Install Google Analytics in websites to analyse web traffic step1

Step 3:

Set a property name, a property name can be anything related to your business. Then, select country and mode of currency
Install Google Analytics in websites to analyse web traffic step2

Step 4:

Fillup your business information.
Install Google Analytics in websites to analyse web traffic step3

Step 5:

By default Google Universal analytics has become Google analytics 4 which was previously (app+web) property. Now set up Data stream. In the data stream you find three option. Choose any for which you want to analyse data. I am showing here for web.
Install Google Analytics in websites to analyse web traffic step4

Step 6:

In the next window you need to provide a website url and website name and click create.
Install Google Analytics in websites to analyse web traffic step5

Step 7:

In the next window you will see details of the property you have just created. In GA 4(Google Analytics 4) the tracking id has been replaced by Measurement Id. Now go to tagging instructions, copy the global site tag javascript code and paste it in the top of the <head> section of your website page and save.
Install Google Analytics in websites to analyse web traffic step6

Step 8:


Now open the page in the browser in which you have added the global site tag. Go to google analytics -> Real Time. You will notice that analytics rightly showing one user is accessing your website.
Install Google Analytics in websites to analyse web traffic step9

Debabratta Jena

This is a little platform through which I share my little knowledge and experience with you guys. Thank you all, who helped me achieving this.





Follow us on

Contact us