Tutorials covering site statistics using asp and vbscript. Learn where your traffic is coming from and what paths they are following through your site.
This is a great tutorial on showing you the basics of how a counter works. It even uses cookies to prevent false hits from being counted. It could be used as a base for a more complicated counter because it is easily expandable to record more values per hit or it can be a self-functioning counter by itself.
This page demonstrates how to create an ASP hit counter. ASP uses some objects for creating/reading/writing to files on the server, and if you can do that, you can create a hit counter. The Server's FileSystem object is used to access files. The TextStream object is used to read and write to them. On the original ASP page which generated the one you see, there is an ASP tag in the space between the words "Number" and "to" above.
If you are interested to know how many visitors came to your site then check this article to learn how to count visitors of your site with a simple ASP Hit Counter.
This is a more accurate counter than our previous example , in this example the count only gets incremented once per session . This means your count will be more accurate if you want it to be that is. create a txt file and put your starting number in it . Then copy this code where you want the counter to display. In the example below the counter3.txt is placed in the same directory as this page , if you put the txt file elsewhere remember and alter the Server.MapPath part of the code
Learn how to create a Log File for your web site. With this Log file you can keep track of the users on your site. You will be able to check who visited your site, At what time, What was the reffering URL and what browser that user was using.
Did you know you could track the number of Current Users on your site with a simple addition to your Global.asa , the code below explains how you can do it in detail..
This is a simple to implement graphical counter and in this example we are going to show you a variety of different digits . In this example you will have to create a text file called gcounter1.txt and put the number you wish to start the count from