The Wayback Machine - https://web.archive.org/all/20050303013329/http://www.statcounter.com:80/help/knowledge_base/Installation.html

StatCounter.com - Free Web Tracker, Counter and Detailed Stats

StatCounter Free web tracker and counter

HELP
Getting Started!
Knowledge Base
Fast Answer Search
KNOWLEDGE
Bugs
Configuration
General
Installation
New Features
Statistics
Upgrade
Installation  

How do I install my counter onto my website?

If you have already created an account and added a project to it. Then follow the following steps.

1. Login to your account.

2. Click 'Installation & Configuration'

3. Click on 'Install Code'.

4. Using the mouse highlight/select ALL the code. (if your website is using frames click the frames option, and hit the submit button to generate frames code first)

5. Right-click with the mouse and click copy. (if your a mac user, go to edit and click copy)

6. Open up a program called 'notepad' or another simple text editor. Do not use FrontPage or any HTML software for this as these programs could corrupt the code.

7. Using notepad open up your homepage file, it may be called index.html or something similar. (If you don't know how to do this because someone else designed or hosted your website for you then we suggest you get in contact with them to add the statcounter code.)

8. Right click with the mouse anywhere after you see the and before the tog. Then left click on 'paste'.

9. Save the changes to your updated homepage file now and upload to your server! Now we'll track your visitors for you.

Can I alter the StatCounter code?

No. You may not alter the code.

The code is installed fine but it's not counting any visitors for some reason.

If the code is installed fine, then are you sure you are getting visitors? Did you configure StatCounter counter to block your visits with a cookie, or to block them based on your IP address?

Try to get a friend to visit your website, and see if they get recorded.

If that doesn't work then you may also have other javascript that comments out our code by accident. Or perhaps some badly formed HTML. If it still doesn't work, then create a very basic test page to see if it works on that page. Or you can also try moving the StatCounter code nearer to the top of the page.

Can I install the counter on more than one page?

Yes. Absolutely. It is highly recommended that you install the same counter code onto all your pages. This allows you to track your user behaviour - how they navigate around your site and not all your visitors find your site from the homepage.

Can I make my hit counter visible on my homepage and invisible on the rest of the pages?

Yes. Firstly configure exactly how you want your counter to look on your homepage.

1. Login to your account
2. Go to 'my projects'
3. Click the 'installation and configuration' icon
4. Click the "configure counter" link
5. Configure your counter to blend in perfectly with your homepage

Now you need to install the code onto your homepage.

6. From the side menu then click the "install code" link
7. Insert the default code into the homepage of your website

Now you need to install the code onto the rest of your pages.

8. Then tick the "invisible counter" box and click the "generate code" button.
9. Take this code and insert it into the rest of the pages of your website.

You now have a perfectly configured counter for your homepage, and an invisible counter for the rest of your pages.

I have the code installed fine but the counter is not showing up. Why?

It is very likely that there is other javascript that comments out our code by accident. Or perhaps some badly formed HTML. Create a very basic test page to see if it works on that page. Or you can also try moving the StatCounter code nearer to the top of the page.

To fix the error on your page make sure that all opened tags are also closed.

Can I install this in our company's intranet?

Yes. It will work great with your company's intranet once you have access to the internet while using your intranet.

I want the counter to appear somewhere else on the page - how do I do that?

You simply need to place the code anywhere between the tags of your website. You can place the code anywhere between inside tables or whatever you like. You can move the code around to have it display where you want it to.

Copyright 1999-2005 © StatCounter, All rights reserved. Privacy Policy | Terms and Conditions