menu
Help and User Support
search this site
Web-Stat Installation
1 ] Web-Stat code and basic installation instructions[ open ][ close ]
2 ] Detailed installation instructions[ open ][ close ]
3 ] Step-by-step installation instructions for popular editors (Blogger, Wordpress, Last.fm, Flickr, etc.)[ open ][ close ]
4 ] Simplified Web-Stat code[ open ][ close ]
5 ] What is the difference between the full code and the simplified code ?[ open ][ close ]
The simplified version of the code does not use JavaScript, as a result it is more fault-tolerant and easier to install than the full version. The drawback is that it will not record referrers, keywords, screen size or screen color information (every other report will be enabled and work properly).
6 ] Secure Web-Stat code for SSL (hhtps) pages[ open ][ close ]
7 ] XHTML-compatible Web-Stat code[ open ][ close ]
8 ] How can I test that the code is properly installed ?[ open ][ close ]
9 ] How can I position the counter on my web page without modifying my layout ?[ open ][ close ]
10 ] Can I install the code on all of my site's pages ?[ open ][ close ]

Yes, you can, and you should : this will give your stats better accuracy. The minimum requirement is to install the Web-Stat code at least on your site's main page (entrance page) but you'll get better stats if you install it also on all your other pages (this will ensure that no matter where people enter your site Web-Stat will be triggered and record the visit).

Note that if your site has 100's of pages installing manually on each page could be time consumming. Fortunately on large sites there is often an include file for the header and/or the footer that gets added automatically at the bottom of each page. If this is the case for your site, installing the Web-Stat code only once in that include file will cover all your pages at once.

11 ] Does my site use frames ? If yes, how do I install Web-Stat ?[ open ][ close ]

Your site uses frames if the screen is divided in several windows, all independant of each other (for instance in a framed site you would be able to scroll down a window without affecting the other ones).

A framed site is made of a master page (the frameholder) and of regular HTML pages which will then load in each one of the frames defined by the frameholder. Usually the framholder has no content other than the definition of how the frames will be setup on the page (what dimension each frame will have and how it will be positioned relative to the other frames). Sometimes the frameholder will have a <noframe> section intended for browsers that can not read frames.

The 'real' content of a framed site is in the HTML pages that load inside the frames. Usually a framed site will have one or two 'fixed' frames (which content does not change) and one 'main' frame (which is updated with new content every time the visitor follows a link). The Web-Stat code must be installed inside all the HTML pages that will load inside this main frame.

12 ] My pages are created with PHP: how do I install the Web-Stat code ?[ open ][ close ]

PHP is not a problem : simply insert the Web-Stat code directly inside your PHP file, then add the following:

  • print <<<END just before the code

  • END; just after the code

13 ] My pages are generated server-side (ASP, CGI, etc.) : can I use Web-Stat ?[ open ][ close ]

Yes : if your web pages are generated on-the-fly by a server-side program all you need to do is have the program in question print the Web-Stat code on each page as it is generated.

Since a program is going to add the code to each page automatically, you have a good opportunity to give custom names to your pages (see manually naming the pages on this). It is quite easy for a server-side program to derive an appropriate name for each URL and insert it into the code when printing it on the page so you might as well take advantage of this.

14 ] Can I install Web-Stat on several web sites ?[ open ][ close ]

You can add a single Web-Stat account on as many sites as you wish, but if you do this your stats will be aggregated in one account and you won't be able to get traffic patterns for each site individually.

This can be fine if you have several URLs or sites that are part of a larger ensemble, and you want to have an overall picture of the traffic on the larger 'meta site'.

However, if you want separate stats reports for your sites, then you will need to create separate Web-Stat accounts, one for each site. Note that quantity discounts are available if you own more than four acounts.

Once you have created/registered your first account, you can create additional ones from the Settings Panel (click on [ add an account ] in the first section)

15 ] How do I make the counter invisible ?[ open ][ close ]

You can make the counter entirely invisible so that it does not show at all on your page.

To do this, simply log into the Web-Stat Settings Panel using the link on the top menu bar, click on 'Tracker settings' and select 'Show a counter > no' and submit. The counter will become immediately invisible throughout your site (no need to make any change to the Web-Stat code on your pages).

Note : if the invisible counter still shows an extra blank space or slightly modifies the alignement of your tables, please read the note on positionning the counter : it will show you how to remove Web-Stat entirely from the page's HTML flow so that it's impact on page design is null.

16 ] Can I make the counter visible on my home page and invisible on the rest of the site ?[ open ][ close ]

Yes : you can override the default [ Show counter ] status (defined in the Settings Panel) on a per-page basis.

By default the counter visibility option selected in the Settings Panel will apply whenever the counter is loaded on one of your pages. If you want the counter to be visible on your home page and invisible on others, all you need to do is set the counter to 'Show a counter > no' in the Settings Panel, then on the home page, use the advanced version of the Web-Stat code and replace:

var invisible='#';

with:

var invisible='no';

or, if you want to force an invisible counter:

var invisible='yes';

17 ] I am not allowed to use JavaScript on my site : what do I do ?[ open ][ close ]

The Web-Stat code comes with a 'simplified' version which does not use JavaScript and can be installed on practically any site.

Since the simplified code does not use JavaScript it is more fault-tolerant and easier to install than the full version. The drawback is that it will not record referrers, keywords, screen size or screen color information (every other report will be enabled and work properly).

Click here to get the simplified version of the code for your account

18 ] Do I have to install your logo or a banner on my site ?[ open ][ close ]

Absolutely not. We do not rely on advertisements to run Web-Stat. Nothing at all will appear on your page after you install the Web-Stat code (unless you choose the option to display a counter, but that's up to you).

19 ] I have installed the code and I get no stats/no counter[ open ][ close ]

This is because the code was not properly installed (the most common problem is that the code gets added as 'text' instead of as 'HTML'. In this case the code itself will appear on your page). Please go to installation testing for a step-by-step procedure to verify your installation and identify/resolve problems.

20 ] Will Web-Stat work on an intranet ?[ open ][ close ]

Web-Stat will work fine on an intranet providing that the intranet is connected to Internet (it should be) and that your firewall does not prevent the loading of the Web-Stat code (usually that's not a problem, but to make sure you should create a free trial account and try installing it on a test page).