CNStats 2.8 / User manual

© "CN-Software" Ltd. 2002-2006
support@cn-software.com
www.cnstats.com, www.cn-software.com

Counter types

4 types of counter are available in the application:

Counter type is assigned with the help of $COUNTER["type"] parameter in config.php.

You should select the type that suits your needs best and install the suggested code into all pages of your web-site.

Note: It is possible to insert only one type of code on a single page. Be careful and do not edit the code suggested by the system.

Counter typeDisplay modeUnique usersAdvantages and disadvantages
GIF 1x1Invisible, transparent GIF 1x1 is insertedCookie is installed during first login; it expires at 23:59:59. A user is considered unique if no cookie has been installed for him/her yet. The counter works at any server. It does not count visits of search robots. It is necessary to select the right place for the code insertion.
PNG 88x31Image 88x31, digits display total pageviews, pageviews today and number of hosts today.The same as GIF 1x1The counter works at any server. It does not count visits of search robots. It is necessary to select the right place for the code insertion.
PHP-includeInvisible, no additional codeA host inactive more than 1 hour is considered unique user.It counts ALL visits with an absolute precision. Counter code may be inserted anywhere in the HTML code. It counts search robots. It is necessary to use additional variable (*) to transmit page titles. It works only on PHP-powered web-sites.
CombinedInvisible, transparent GIF 1x1 is insertedThe same as GIF 1x1 The counter combines PHP-Include precision and correct user identification with help of the cookie. It is necessary to select the right place for the code insertion. It works only on PHP-powered web-sites. Recommended.

(*) It is necessary to assign the page title to the variable $CNSTATS_TITLE for page titles counting before the counter code will be installed.


Back | Manual index | Next