WordPress Plugin: Statistics-Light

Statistics Light - Wordpress Plugin and App

Statistics-Light - A lightweight statistic tool for WordPress

Before the DSGVO (General Data Protection Regulation GDPR) it was almost standard to integrate "Google Analytics" and other tracking services and software on your own website, blog and shop.

The disadvantage was (and still is) that the data was transferred to the USA and evaluated there by Google & Co. as well. Since the introduction of the basic data protection regulation in May 2018, many, especially smaller blog operators without their own lawyer and extensive data protection declaration, have removed for example Analytics from their site to avoid possible warnings and costs.

A slim statistics tool for WordPress

Statistics light wordpress appThe idea behind Statistics-Light is to store and evaluate only the data that is already retrieved and logged by every web server, i.e. without which an Internet and the delivery of content would technically not be possible.

These data are the following and are usually listed in the very front of every privacy statement under the item "Server Log Files". This Log Data may include information such as your computer's Internet Protocol ("IP") address, browser type, browser version, the pages of our Site that were visit and for example the time and date of the visit.

What data does Statistics-Light store and where is it stored?

Statistics-Light is a WordPress plugin and is installed locally on your own web space or server. The plugin installs multiple tables in your WordPress database and records visits to your pages and posts. The data thus remains solely with you and cannot be viewed and evaluated by third parties.

The data is currently being saved:
+ Visited website (URL, WP PostID)
+ Referrer (Source from where the user reached the page)
+ Time/Date of the visit
+ The IP-address* of the visiting user

*The IP-address is automatically deleted after 24 hours.

Evaluation of the data

The menu item "Statistics-Light" can be accessed via the administrator area of your WordPress installation. Here, relevant information is displayed briefly and concisely in real time.

An optional interface (DATA-API) has been created for a visually enhanced view, which allows Statistics-Light's Android and iOS app to download and visualize relevant data to your smartphone or tablet. To conserve resources and for optimal performance, the API data is cached and updated every 2 hours.

You can also switch this interface on and off via the administrator area. If active, the plugin creates a data file to which you can define any file name (kaldfASDjhash8434zx_§kb) and a password.

Guessing this file name should be almost impossible for a third party depending on the length and characters of the name. However, the corresponding directory in which this file is located is additionally protected by htaccess password protection to ensure maximum security.

Note: Also make sure that you have set up an SSL certificate for your blog or website to enable encrypted communication!

Statistics-Light App for mobile devices

Statistics Light App for iOS and AndroidThe Statistics Light App for iOS and Android allows you to visualize not only the data such as visitor numbers for your WordPress blog or website. You also have the possibility to create several pages in the app, if you run several blogs.

Features:
+ Management of 1 to 36 WordPress blogs and other websites.
+ Simple titles and color management.
+ Blog statistics are protected by individual paths and passwords.
+ 3D view of visitor and access statistics (acutally 7, 14 and 30 days).

Control:
+ Switch between the individual statistics: Swipe/Wipe left/right.
+ Switch from statistics back to blog overview: Swipe/Wipe up.

Statistics-Light for Android

Statistics Light App for Android is now available in the Google Playstore.

Statistics-Light for iOS

Statistics Light App for iOS (iPhone iPhone and iPad) is now available in the Apple Appstore.

Statistics Light for Non-Wordpress-Websites

The Statistics Light plugin is now available not only for WordPress pages, but also for all other web pages programmed with PHP. Just download the PHP-Connector and install it. At least PHP7 is recommended!

== Installation ==

1. Upload `statistics-light` to a sub-directory of your website
2. Edit constants.php -> enter your database connection settings and login for Data-API.
3. Make sure that tmp-directory is writeable (CHMOD 644 or 755).
4. Run setup.php. Then all necessary database tables and fields are created as well as the HT-Access password protection. If everything went fine you can delete the setup.php from your server.
5. Include statistics-light.php on your website - for example include("path-to-stats/subdir/statistics-light.php");
6. Now Data-API should be active and you are able to visualize the statistics data on your mobile device (statistics-light App).

Author: Sascha from Tinkering-Sascha.com

Author: Sascha

Some words about myself. My name is Sascha - i'm in my mid-30s and a software developer and martial artist from germany. Besides programming and martial arts some of my interests and hobbies are cooking, fitness and hearing loud heavy metal music. :D

Related postings

pi_robot – Playing with Raspberry Pi, iPad and some Code

The Raspberry Pi is still one of the most popular mini computers, not only among hobbyists. Cost-effective (about 30 to 40,- EUR depending on the model), flexible in the field of application and at the latest since the equipped with enough CPU power and memory to solve even more complex tasks. With the 1.2 GHz … Continue reading “pi_robot – Playing with Raspberry Pi, iPad and some Code”


Unity 2D Platformer – Level Generator

For some time now I have been experimenting here and there with the 2D and 3D engine Unity. Especially the programming of a 2D-Platformers has been very interesting for me. However, programming a 2D game (if you are a programmer) is not the biggest problem, but in my opinion the look, because I am not … Continue reading “Unity 2D Platformer – Level Generator”


My Recipes Book – Cooking Recipe Manager

Here are some informations, Screenshots and Download-Links for the Recipes Book App (Cookbook) for iOS- and Android-Devices. My Recipes – Create your own wonderful recipe collection on your and . My Recipes Book App – Description iOS (iPhone, iPad) A jewel in the kitchen. This wonderful recipe book you have your own culinary creations, grandmas … Continue reading “My Recipes Book – Cooking Recipe Manager”


My ShoppingList App / Grocery List App

Here are some informations, Screenshots and Download-Links for the Shopping List App (Pro-Version) for iOS- and Android-Devices.   Some cool new feature is, that you are now able to share, work and synchronize lists in realtime with other users (for example your wife or friend). When you go shopping at the supermarket and you strike … Continue reading “My ShoppingList App / Grocery List App”


Smart Home V1 – Do it yourself

I’ve been planning my smart home for some time now. Besides the cost factor for all the great things I imagine, I often lack the necessary time for detailed planning and implementation. So I decided to start somewhere and write down this DIY project in parallel…let’s see where it leads…I ask for your indulgence if … Continue reading “Smart Home V1 – Do it yourself”


Leave a Reply

Your email address will not be published. Required fields are marked *

I have read and accepted the privacy policy!