where to place google analytics tracking code



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.nethow to enable password retrieval in asp.nethow to get security answer in asp.nethow 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.

Step 1.

Visit www.google.com/analytics/

Step 2.

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."

Step 3.

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.


Step 4.

After adding tracking code to your website click on verify button to verify your site.

Step 5.

Give 24 hours time to Google Analytics to begin tracking for your website data.

Give your Valuable Comments.
comments powered by Disqus
Follow me on twitter
About Me
Harpreet Singh
I began programming with C++ when i was 17. Then at the middle of my study .NET came. Then I began to read C# and VB.NET. By the time i learnt SQL and ASP.NET, and developed some websites such as news portals that are active now. Currently i am running my own Software company.
More Articles