To gather statistics about your site (and activate a counter, if you have one), we add a little bit of code to the bottom of your HTML pages that tracks activity on those pages. We can't add this code to your PHP pages, and so reports on those pages cannot be generated automatically.
Important: Please note that we have upgraded the script that gathers your site statistics. If you added Yahoo! statistics to your PHP pages before February 2008, please be sure to replace that code with the code below.
To generate Site Statistics reports on your PHP pages, you'll need to manually add the following code to each page for which you'd like to collect data. This code will send a request to the Yahoo! server that collects statistics for your site.
<!-- Counter/Statistics -->
<script language="JavaScript"
src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js">
</script>
<script language="javascript">geovisit();</script>
<noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?time"
alt="setstats" border="0" width="1" height="1"></noscript>
Tip: Rather than inserting the entire block of code into each page, you might consider using an include file or adding the code to a common file that is attached to each page using PHP's auto_append_file function.
To display a counter on your page, add this code:
<img src="http://visit.webhosting.yahoo.com/counter.gif" alt="Counter">
You can edit your counter display anytime using the GeoCities Counter setup pages.