Plures Multi Statistic Tracker 1.1
Copyright (c) 2017
v1.1 originally written by Joćo Ferreira
- Unpack the files and upload to the website where you're going to save the statistics
- Set up the MySQL connection details in "plures.settings.php", if you don't have a mysql database created, create one on your webhost's control panel.
- Load "plures.php" on your browser (e.g.: http://www.mysite.com/plures.php) and follow on-screen instructions
- Register a new website
- Copy the script code and insert on the target website, right before the "</body>" tag
- Repeat steps 4-5 for any other websites you may have
- Click "SETTINGS" and configure it to your preferences:
- Setup a password if you want to keep your statistics private.
- Setup your ip (if fixed); and/or a cookie in order for your views to not be part of the statistics.
- The main page will begin to display statistics as soon your website(s) get activity.
- Be sure to delete file "plures.sql"
- PHP >= 5.3 (compiled with mysqli)
- MYSQL Database >= 4.1
HOW DOES IT WORK?
Plures Multi Statistic Tracker counts statistics through two methods:
- Sessions/Cookies - Users that acept cookies are tracked directly using server sessions (saved in cookies) and cookies. This kind of users generate a visit per browser session, if the session is older than the pre-defined value, a visit is counted.
- Last Activity - Users that do no accept cookies, sessions do not work without cookies, so, this users need to be tracked indirectly through their last activity and the minimum visit age constant defined in "plures.settings.php". Every time a page view is older than the pre-defined value, a visit is counted.
- For consistency, statistics are always counted in GMT time, no matter your timezone or your server's timezone.
The timezone option only applies to already recorded dates.
- Genuine return visits are the visits where the user returns to the website using a cookie tag, previously set on the first visit. The system tries to ensure the users not accepting cookies have a minimum visit age limit, in order to stop them from generating "views" visits.
- A unique visitor tagged as "Genuine Return Visitor" is a visitor that has at least one Genuine return visit
- Monthly uniques and daily uniques are independent from each other (e.g.: if a first time user visits the website for 2 consecutive days, he/she will be counted as 1 monthly unique and 2 daily uniques)
- All statistics displayed are from page views that were parsed by a web browser. Non Viewed traffic is not tracked. The filtered views are from automated identities that actually parsed the page source.
STATISTIC TABLE COLUMNS
- Visits - Raw visits
- Views - Page hits
- Unique visitors - Genuine Unique users certified by ip/cookie
- Return Visitors - Genuine Unique return visitors certified by ip/cookie + Non Genuine (If any)
- Return Visits - Genuine/Non Genuine Visits made by the Return visitors described above
- Referrers - Remote origins of traffic (Does not include search engines)
- Keywords - Keywords related to Search Engine Traffic, if the keyword is missing, it will be set as "Undefined".
- Interfaces - Chart/Tables, statistic containers.
- Unique visitors - Genuine Unique users for the given day certified by ip/cookie
- Visits - Raw visits
- Views - Page hits
- images - Image files used by this software
- plures.functions.php - Standalone functions
- plures.myinterface.class.php - MyInterface Class (Prints templates and processes forms)
- plures.mysqldb.class.php - MySqlDb Class (Database)
- plures.statistics.class.php - Statistics class (counts statistics)
- plures.php - Main file
- plures.settings.php - MySQL Connection details / Advanced settings
- plures.sql - MySQL tables Dump
- plures.style.css - Styles
- README.txt - README File
- README.html - This File
ADVANCED SETTINGS (plures.settings.php)
- MySQL Database Connection Details
- Cookie Prefix
- Maximum Session Age
- Minimum Visit Age
- Chart Customization
- Days Table Margin
- Login Temporary Password
- Disable Login Form
CHART Customization Reference
You can customize the main chart by editing file plures.statistics.php, use the image above as reference.
- The statistics interface can be protected by a password. In order to reset the password, a temporary password can be set on "plures.settings.php". This setting shall only be used for recovery purposes, it must be empty when not needed. Using it to store the password for long periods may lead to security issues.
- Since the password works through cookies (your browser logs you in automatically using the stored information), for increased security, the login form can also be disabled in "plures.settings.php". In case you need to reset your password, you can re-enable it.
Plures Multi Statistic Tracker © 2017