Click here to Skip to main content
15,881,172 members
Articles / Web Development / ASP.NET

Page Tracking in ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.71/5 (32 votes)
23 Jun 200410 min read 291.9K   6K   160  
This articles explains how to track visitors to your web site.
<html>
<body>
<script language="Javascript" src="http://gd.geobytes.com/Gd?after=-1&variables=GeobytesCountry,GeobytesCity,GeobytesRegion"></script>
<script language="javascript">
if(typeof(sGeobytesCountry)   != "undefined" &&
   typeof(sGeobytesRegion)    != "undefined" &&
   typeof(sGeobytesCity)      != "undefined")
{
   var url = 'index.aspx?IPCity='+sGeobytesCity+'&IPRegion='+sGeobytesRegion+'&IPCountry='+sGeobytesCountry;
   document.write("<META HTTP-EQUIV='Refresh' CONTENT='0; URL="+url+"'>");
} else
{
   document.write("<META HTTP-EQUIV='Refresh' CONTENT='0; URL=index.aspx'>");
}
</script>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Vikram is an Enterprise Application Architect specializing in EAI, ETL, all relational databases and transforming legacy applications to Microsoft .Net environment. Vikram works for a consulting firm in Research Triangle Park, NC. Vikram has expertise in all relational databases, Cobol, mainframe, OO programming, C, Perl and Linux. C# is a newfound craze for Vikram.

Comments and Discussions