Free webstats and counters Analytics, Users Online and Counters
EZ Webstat

HTML Tracking Code

The HTML code found in the Site Profile Settings serves two purposes.

  1. It calls the javascript which collects data on your visitors
  2. It can optionally display a counter value

Code Details

<!-- EZ Webstat Code START -->

This is just an HTML comment to mark the beginning of the code. You can delete it if you prefer.

<script>showme='y'; st='js'</script>

This is the second setting that controls the visibility of the code. If you want the code to be hidden, change this line to showme='n'. This allows you to control the visibility on a per-page basis. That is, show the counter on some pages, keep it hidden on others.

The "st" setting has two possibilities:  st='js' will show the code as text. This will allow you to apply your site styles to the output. If you place this code within an element displaying verdana font, the counter will also be in verdana.

Changing to st='img' will show the code exactly as you set it in the User Profile settings.

The other location controlling visibility is the checkbox called "visible" in the User Profile settings. This will hide the counter globally on all your pages.

<script language="JavaScript" type="text/javascript" src="ezwebstat.js"></script>

This line calls the javascript file that tracks your visitors. If the script is not in the same directory as the pages being tracked, change src= to include the path to the script. If you have an extensive site with multiple directories, use a full URL to ensure the script will be found. e.g. src="http://www.yourgreatsite.co.uk/scripts/ezwebstat.js"

<noscript><img alt="Free website statistics and counters from www.ezwebstat.com" src="http://www.ezwebstat.com/ezwebstat.php?id=youraccount&st=img"></noscript>

If your visitors have javascript disabled, this code will allow them to be tracked. Without the javascript code, some details of the visitor's software will not be available such as screen resolution, color depth, browser, etc., but the pages visited will still be recorded.

<!-- EZ Webstat Code END -->

This is just an HTML comment to mark the end of the code. You can delete it if you prefer.

 


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
Framed sites
Dynamic sites