In this article you will get to know How to use google analytics on your website to track visitors moment and also where to place google analytics tracking code.
In the Previous articles i explained how to retrieve logged in user password using asp.net, how to enable password retrieval in asp.net, how to get security answer in asp.net, how to retrieve logged in user name in asp.net, how to retrieve logged in user email in asp.net and many more about ASP.Net.
Access your tracking code.
Tracking code is a string of HTML code you will copy and paste on every page of your website you want to track statistics for.
If you are signing up for Google Analytics for the first time, you will be taken to a page that contains the HTML tracking code for your website.
If you are already signed up for Google Analytics, you will be taken to the Overview page that shows your website accounts. Select the account you want and from the Actions column, click on Edit. In the top right section of the Main Website Profile Information box, click on "Check Status." You can find your tracking code underneath "Instructions for adding tracking."
Add the tracking code to your website.
Copy the tracking code and paste it into the HTML of your web page just before the closing head tag.
After adding tracking code to your website click on verify button to verify your site.
Give 24 hours time to Google Analytics to begin tracking for your website data.