Using Google Analytics (Users Activity Tracker) in ASP.NET
Introduction
Any website owner love to see the website log details like
how many user are logged, locations of user the graphical representation of
user's activity throughout entire websites. Actually there are couples of way
to create such projects. Website owner also can see the server log file to get
such information but log file is very-very low level activity tracker because
we can't see there the graphical representation of value. For such work GOOGLE
ANALYTICS is very cool. Let's implement it for our domain.
Perquisite
We should have the following things:
1. Google Account
2. Personal Domain Name
3. Hosting Server
1. Google Account
2. Personal Domain Name
3. Hosting Server
Screenshots
I am including screenshots here because it is very easy to
implement.
In above image we are opening a GOOGLE web page 'www.google.com/analytics'.
In above image, we are opening our account which is already been created as given below also.
In above image, I am choosing 'Add a Profile for a new domain' because I have already created but you will have different screen if you are at very first. Click on Continue after selection.
In above image, GOOGLE will generate some JavaScript code which we have to use in our website in the 'head' section. If you are using MasterPage in website then you must paste this in MasterPage only.
In above image we are opening a GOOGLE web page 'www.google.com/analytics'.
In above image, we are opening our account which is already been created as given below also.
In above image, I am choosing 'Add a Profile for a new domain' because I have already created but you will have different screen if you are at very first. Click on Continue after selection.
In above image, GOOGLE will generate some JavaScript code which we have to use in our website in the 'head' section. If you are using MasterPage in website then you must paste this in MasterPage only.
In above image, all the domain names are listed which I have
been created. Now to see the statistics of your website visits globally, you
have to click on 'View report'.
Comments
Post a Comment