Plures Multi Website Analytics 1.3
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 analytics
- Load "plures.php" on your browser (e.g.: http://www.mysite.com/plures.php) and follow on-screen instructions
- If you don't have a MySQL database created, you'll have to create one on your webhost's control panel.
- Register a new website
- Copy the script code and insert on the target website.
- 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 analytics private.
- Setup your ip (if fixed); and/or a cookie in order for your views to not be part of the analytics.
- The main page will begin to display analytics as soon your website(s) get activity.
- Be sure to delete files inside "tmp" folder.
- PHP >= 5.3 (compiled with mysqli)
- MYSQL Database >= 4.1
HOW DOES IT WORK?
Plures Multi Website Analytics counts analytics through two methods:
- Sessions/Cookies - Users that accept 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.
- Host/Last Activity - Users that do no accept cookies, sessions do not work without cookies, so, this users need to be tracked indirectly through their host (if any), 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, analytics 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)
TABLE HEADERS EXPLANATION
- 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".
- Req. - Requested Pages
- Interfaces - Chart/Tables, statistic containers.
- Unique visitors - Genuine Unique users for the given day certified by ip/cookie
- Visits - Raw visits
- Views - Page hits
- plures.style.css - Styles
- - Image files used by this software
- plures.analytics.class.php - Analytics class (counts analytics)
- plures.functions.php - Standalone functions
- plures.interface.class.php - MyInterface Class (Prints templates and processes forms)
- plures.mysqldb.class.php - MySqlDb Class (Database)
- plures.settings.php - MySQL Connection details / Advanced settings
- plures.templates.php - Templates
- plures.sql - MySQL tables Dump
- MySQL_update_v1.3.sql - v1.3 MySQL table upgrade
- plures.php - Interface
- pluresc.php - Counter
- 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 includes/plures.settings.php, use the image above as reference.
- The analytics 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