hit counters and traffic analysis
HELP FILES
Installing the Web-Stat code

Installing the Web-Stat code

The easiest and safest way to insert the Web-Stat code onto your page is to do it by hand using a simple text editor such as Window's Notepad.

You can also use HTML editors (such as Microsoft Front Page), but keep in mind that a number of these editors actually modify your HTML code, thus preventing it from working properly. The following list identifies quick fixes for a number of HTML editors to help with the code insertion process. If the HTML editor you are using appears to break the Web-Stat code and is not listed below, please try to use the default insertion method Still not working ?



Insert the Web-Stat code with a text editor (default) :
  1. click on the link to the Web-Stat code available in your confirmation email, in our FAQ, or in the Web-Stat Control Panel

  2. with your mouse, highlight the code

  3. press the Ctrl key and at the same time the C key (this will copy the highlighted text in memory)
  4. using Windows Notepad, Macintosh SimpleText or any other simple text editor, open the file for the web page on which you want to install the counter (most likely, index.htm or index.html)
  5. Note : the file must be opened in 'text mode'. In simple text editors that's the default, in others you need to specify it.
  6. put the cursor just above the </body> tag (for instance, or anywhere else between the <body> and </body> tags if you know what you are doing)
  7. press the Ctrl key and at the same time the V key (this will paste the code on the text editor at the cursor location)
  8. save your modified web page
  9. upload the modified web page to your server (publish it)
... That's it !


Insert the Web-Stat code using an HTML editor
Front Page 2002
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight it with your mouse then type ctrl-C)
  3. Edit the page in the Normal pane
  4. Insert the cursor where you want the counter to appear
  5. On the Insert menu, click Web Component.
  6. In the left pane, click Advanced Controls.
  7. In the right pane, double-click HTML.
  8. Paste the code in the HTML Markup (click inside window then type Ctrl-V)
  9. Click on OK, save your page and publish.

Front Page 2000
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight it with your mouse then type ctrl-C)
  3. View your page in Design View (default view).
  4. Insert the cursor where you want the counter to appear
  5. Click insert -> Advanced and select "HTML"
  6. Insert the Web-Stat code (Click in window then type Ctrl-V)
  7. Click "OK"
  8. Save and publish your page

Front Page 97 / Front Page Express
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl c)
  3. Open your page in FrontPage Express.
  4. Place your cursor where you would like the code to be inserted, and choose Insert > HTML Markup from the top menu.
  5. Paste (ctrl v) the code into the window, and click OK.
  6. The code will appear as either a graphic or graphic icon.
  7. Save and publish your page.

Microsoft Publisher
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl c)
  3. Open your page in Microsoft Publisher.
  4. Click on bottom of page
  5. Click Insert, Advanced and select "HTML".
  6. Place your cursor where you would like to insert the counter
  7. Insert the Web-Stat code anywhere between the <Body> and </Body> tags (Ctrl V)
  8. Click OK.
  9. Save and publish your page.

Netscape Composer
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl c)
  3. Open your page in the Composer window
  4. Choose Preferences in the Edit menu to open the Preferences tab and select Composer
  5. In the right panel go to External Editors.
  6. Click on the button Choose next to HTML Source to select an editor
  7. Browse and find either notepad.exe (Windows) or SimpleText (Macintosh).
  8. Select the application and click to open.
  9. You have now selected notepad or SimpleText as your default editor
  10. Click OK and close the Preferences tab
  11. In the Edit menu select HTML Source to edit the source code in your default editor
  12. Insert the Web-Stat code anywhere between the <Body> and </Body> tags (Ctrl V)
  13. Save and publish your page.

AOLHometown (with Easy Designer)
  1. connect to your site
  2. click on 'Edit My Pages' on AOL's menu bar on top of your screen
  3. enter your screen name and password
  4. on the next screen, select the page on which you want to insert the counter
  5. click on 'Edit'
  6. wait for Easy Designer to load
  7. click on the blue 'click to get started' button
  8. once your page has finished loading in Easy Designer, go to the menu bar on top of the screen
  9. go to Insert -> Advanced HTML
  10. get the Web-Stat HTML code for your account (in our FAQ for instance)
  11. copy the code (highlight + ctrl C)
  12. paste it (ctrl V) into the new window that opened on your screen (EasyDesigner Advanced HTML editor)
  13. Make sure that the code in the Easy Designer window looks exactly like the code we issued
  14. click on 'OK'
  15. drag the newly created 'HTML object' box wherever you want the counter to appear on your page
  16. click on 'Preview' to check your work
  17. if you are happy with it click on the 'Save' button on the Easy Designer menu bar

Adobe PageMill 3.0
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (ctrl C)
  3. Open your web page in Adobe PageMill.
  4. Place the cursor in the place that you want to put the Counter code.
  5. Choose View / Source Mode in the top menus.
  6. Paste (ctrl-v) your code into the HTML source code.
  7. Choose View / Source Mode in the top menus (this will uncheck View / Source Mode in the menu).
  8. The counter code consists of the highlighted objects.
  9. Save your document and upload it.

Dreamweaver 2
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl C)
  3. Open your page in Dreamweaver and click on the HTML tab
  4. Insert the Web-Stat code anywhere between the <Body> and </Body> tags (Ctrl V)
  5. Ignore broken image tags
  6. Close the window and save the changes to your page
  7. Publish your page

Dreamweaver 3
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl C)
  3. Open your web page in Dreamweaver 3.0
  4. Select 'HTML source code' from the 'Window' pull-down menu
  5. Insert the Web-Stat code anywhere between the <Body> and </Body> tags (Ctrl V)
  6. Ignore broken image tags
  7. Close the window and save the changes to your page
  8. Publish your page

HotDog Pro
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl C)
  3. Paste copied code anywhere between <Body> </Body> tags
  4. Ignore red highlighted code errors
  5. Do not attempt to edit any code!

HotMetal Pro
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (ctrl C)
  3. Paste copied code anywhere between <Body> </Body> tags
  4. Ignore any markup errors

Net Objects Fusion
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (highlight + ctrl c)
  3. Open your page in Net Objects Fusion
  4. Click on "Layout Properties"
  5. Click on the "HTML" button
  6. Click on "Beginning of Body" tab
  7. Insert the Web-Stat code into the text box and click "OK"
  8. Save and publish your page.

Visual Page 2.0
  1. get the Web-Stat HTML code for your account (in our FAQ for instance)
  2. copy the code (ctrl C)
  3. Go to view > source ( in menu bar)
  4. Paste copied code anywhere between <Body> </Body> tags
  5. Return to Page View (view > page)
  6. Ignore all extraneous code on page. (It will not affect how the page displays in a browser)
  7. Do not edit or delete any code!

Still not working ?

If you are still having difficulties, try installing the simplified version of the code available in our FAQ. The simplified code does not contain any JavaScript and as such it is shorter and easier to install. It will work just like the full code except that it will not record any referrer or keywords information.

... or send an email to helpdesk@web-stat.com with your user name and the URL of the page where you have attempted to paste your counter.

If necessary we can install the counter on your page for you. In order to do that we'll need FTP - File Transfer Protocol(*) - access to your site, which means your FTP address, your FTP user name and your FTP password. If you are interested, simply email these three items (along with your Web-Stat user name) to helpdesk@web-stat.com and we'll take care of everything for you.

(*) FTP means 'File Transfer Protocol'. It is a simple way to access your server to download and upload documents (typically to install the code we would FTP to your server, download your web page, open it with a text editor, add the Web-Stat code, save it and upload it back onto your server). FTP should be made available to you by the people hosting your site. If you don't have FTP access, please contact them and ask them for your FTP address, user name and password. Most hosts provide that service as part of their hosting package.


go to web-stat.com close this window