1. Download CNStats Free from the official web-site.
2. Unpack the archive (/cnstats folder with files and sub-directories ('sub-folders') will be created).
3. Copy /cnstats with its contents to the root directory of your web-site. As a rule it is executed with the help of an FTP-client.
NB: It is necessary to enable binary mode during files uploading through FTP.
/cnstats directory should appear on the server.
NB: CNStats will not be able to work in other directories.
The file structure should be as follows:
4. Run installation script by indicating install.php location in the address box of your browser, for instance: http://yours.server.com/cnstats/install.php
5. Enter the following data:
Names of CNStats tables contain prefix "cns_", so it is possible to use CNStats when the hosting provider allows to use only one database.
Further you may change necessary data by editing config.php.
6. After clicking the "Next" button all necessary tables will be created in the database. If the database does not exist, the installation script will try to create it.
Then the contents of the configuration file will be displayed; you should create 'config.php' file in /cnstats folder on the web-server and insert these data.
7. Delete install.php from the server.
8. Indicate the path to the installed program in the browser, for instance http://yours.server.com/cnstats/. Select CNStats interface language from the pop-up menu, then enter E-Mail and password which you have specified during installation: the application`s main window should appear in the browser.
9. Further you should get the statistics code (mandatory) and the counter code (optionally) from the menu section "Configuration" -> "Get counter code" and install it into all web-pages of your web-site. (For detailed information about types of counter code, please, refer to "Counter Types")
10. Open any web-page where you have installed the code. Check the correctness of the installation visually.
11. Enter menu section "Miscellaneous" -> "View log". Make sure that your visit has been counted and the system has started accumulating statistics.