Google Analytics is a web analytics service by Google
that helps to track website traffic.
Follow these steps to integrate Google Analytics into
your website:
Go to
Google Analytics
and sign in using your Google account. After
sigining in, you'll be redirected to Google
Analytics welcome page as show below:
Click on the
button. You'll be redirected to Account setup page.
On the Account name field, you can
provide your website name or any name that may be
helpful for you to identify your Google Analytics
account. Select all the checkboxes and click on the
Next button.
Next, you'll be redirected to another page where you
will be asked to choose between website, mobile and
both for measurement. Select
and
click on the Next button.
On the Property setup page, fill in your website
details and click on the create button. Example
shown below:
Next, accept
. when you are shown the
, select all and click on the Save button. Example
below:
Next, you'll be provided tracking code as shown in
the image below. Copy the
and paste it within your
.
This is all we need to do. Now, you can go to the
Google Analytics Home page and check if your setup
is working. Open a new tab on your browser and visit
your website. You must see real-time data.