Click to See Complete Forum and Search --> : hitometer


chesswill
09-14-2005, 07:23 AM
Please advise me how to tell the number of hits on my page? (Without actually displaying the result on the page itself)

mdoigny
09-14-2005, 12:52 PM
Do you have access to scripting? (cgi-bin or whatever)
On some of my pages i install a tag
<script src=/cgi-bin/count?pagename> </script>
Each time a page is downloaded, a counter for the corresponding page is increased. The script itself only produce as output document.write(n); (where n is the page count), but you could write an empty string if you prefer.
If you have access to your logs, you can use any log analyser to parse te log and count each page, ...