This example is a simple text based counter that will only show page views, not actual visitors. It uses the File Scripting Object to interact with a text file. It first reads the current number in the file and adds one to it, then displays it as text on the page.
This is a simple text-based visitor counter. It uses the IIS PageCounter object and only shows the total (non-unique) number of hits. This is as easy as it gets: copy-paste 3 lines of code into your page and you're done.