Page 1 of 1

Web site counter

Posted: Thu Mar 17, 2005 5:02 pm
by corpse
I have a friend with a Web site and he wants to know if he can put a counter on it to count the number of people that visit the site.

Is this done from the server [web hosting site] or from the local machine?

Posted: Thu Mar 17, 2005 5:17 pm
by signa
if you have php, cgi, or other scripting availible, its usually easy to add in a script that way. ive used count me in the past which is a php script.

another method is to sign up for one of the free online counters. there are lots of those. I currently use statcounter

Posted: Thu Mar 17, 2005 8:27 pm
by corpse
So these would go onto my friends computer, as in on his side of things, NOT on the host server side, right?

Posted: Thu Mar 17, 2005 9:03 pm
by signa
no they would go on the webserver, along with all your html files. except for the free counter types (like statcounter), in which you just include a snippet of their code in your html files.

Posted: Thu Mar 17, 2005 11:36 pm
by corpse
Sorry man. If he uses statcounter and the code is put on his machine, then only his machine will show the counts, right?

They won't show up on the actual Web site for all to see.

Posted: Fri Mar 18, 2005 4:58 am
by signa
im not really sure what you mean. the code would reside on the webserver (in the actual webpages) with the visit count for everyone to see, unless you tell statcounter to count, but not display a counter.

Posted: Fri Mar 18, 2005 8:17 am
by corpse
I think I see what you mean. I thought, at first, that you meant the free ones only resided on the client machine, which means they wouldnt show up on the whole site. But, I see thats not what you meant