Free webstats and counters Analytics, Users Online and Counters
My Page Stats

Changing the Statistic to be Displayed

If the statistic to be displayed is not defined, total visitors will be displayed.

Several statistics can be displayed using the type= variable. Add the &type= variable after the &st= variable in the tracking code or showhits.php call.

the type= variable can display the following statistics:

Variable Diplays
&type=hits Total visitors (default)
&type=pageviews Total page impressions
&type=today Today's visitors
&type=todayviews Today's page impressions
&type=yesterday Yesterday's visitors
&type=yesterdayviews Yesterday's page impressions
&type=month Current month's visitors
&type=monthviews Current month's page impressions
&type=onlineusr Current online users
&type=totaldlfiles Number of files available for downloading
&type=totaldlhits Number of times downloaded

For example, the code:

<script language="JavaScript" type="text/javascript" src="http://www.mypagestats.com/showhits.php?id=username&st=js&type=month"></script>

will show the number of visitors to your entire site (all the pages with the tracking code installed) for the current month. Resets to zero each month.

 

Associates:

Instructions
Getting Started
Detailed Instructions
Sign up for a free account
Account profile Administration
Settings
User Profile
Customize the tracking code
Customize the counter
Display statistics on your website
Using the HTML Code as a counter
Show your stats anywhere
Choose which statistic to show
Demonstration of counters
File download counter
More Details
Sharing your statistics
MySpace Pages
Framed sites
Dynamic sites