Difference between revisions of "Website Counters"
Revision as of 17:57, 28 July 2007
XMission has a simple web counter that all customers can use. This counter eliminates the need to write or download scripts to show a visitor count on your web pages.
Text counters are easily applied by using a simple line of code to the web page you wish to add a counter to. The text of the counter can be manipulated with some simple command flags to change the face, style, and color.
For example, this code:
Creates this counter: <img src="http://counter.xmission.com/cgi-bin/wwwcount.cgi?df=username" />
and this more complicated code:
Produces this basic counter:
You will need to modify the "username" value in the string, with "username" being your XMission username, unless you have web hosting with us, in which case you could use your virtual host name (i.e., www.soyonlegs.com). The value simply enables the counter software to track the number of unique hits to your specific site. NOTE: if you want to your counter to show a unique number of hits to each page of your site, be sure that each page has a unique value (e.g., "username1" and "username2").