Traffic analysis tools for websites
Piwik
Piwik (Figure 2) is growing in popularity around the world. Users have downloaded the cross-platform independent, open source program, which is written in PHP, almost three million times since 2008. Fans of GA will most likely find the functions they are familiar with from Google in Piwik, Site visitors are offered an opt-out in an IFrame, and Piwik respects the browser's Do Not Track feature.
Piwik collects data with tracking pixels, JavaScript, log analysis, and cookies, and stores these in a MySQL database. Access is via a web interface. The latest version, 3.0.1, introduces a new user interface on the basis of Material Design and Angular 1.4. Piwik is available under the GPLv3, but partly also under the BSD license.
Data Collection
Piwik Web Analytics collects relevant data such as visitor counts, keywords, referrers, and much more. This data tool prepares the data in a graphically appealing way and delivers the results in the form of reports. These include statistics on page views and unique visits. The visitor analysis also provides information on the countries of origin and the browsers and operating systems used. Referrers tell the operator which website sent a visitor to their offering.
The tool relies on plugins to implement its functions; you can add or remove these as needed. Piwik supports real-time updates, shows developments and trends, offers campaign and target tracking for online stores, and is multi-client capable for multiple websites.
Thanks to the configurable dashboard, admins can manage all their sites at a glance. A tool for aliasing the IP addresses is also part of the package and thus ensures data protection. There are also corresponding apps for the iOS and Android platform. Last but not least, users will find a detailed list of features with in-depth explanations [11] on the project website.
Admins can use plugins to extend the already abundant wealth of features that Piwik comes with out the box. A recent addition is the premium plugins, of which the project recently presented three [12]. Admins need to store Piwik software on the server and then install the system in a browser. If needed, you can integrate Piwik via enhancements in WordPress (Figure 3), MediaWiki, Magento, Joomla, vBulletin, and more than 60 other applications.
A demo version is available [13] on the project website. Piwik Pro sees the application run in the cloud [14]. Piwik is under active development and has a fairly lively community.
Open Web Analytics
Under development since 2009, Open Web Analytics (OWA) is not as well known as Piwik, but it keeps pace with Piwik and GA in terms of its feature set, even outpacing them in places (Figure 4). For example, it offers integrated heat maps, which competitors need to load as extensions. They help admins analyze mouse movements on web pages.
OWA uses a PHP front end with a MySQL back end and collects statistics by integrating a JavaScript into the target site (Figure 5). Admins can evaluate the results using JavaScript, but also directly via PHP or REST-based APIs. OWA supports WordPress or MediaWiki pages, and a third-party extension exists for Drupal.
The OWA framework is released under the GPLv2 license and is also suitable for campaign and e-commerce tracking. Users can define reports and dashboards that go beyond the standard selection to suit their needs. The application lets you integrate various web pages, which the OWA user can aggregate or view individually. It handles many administrative tasks directly at the command line of the server instead of in the browser.
The integrated event queuing is a unique feature among the applications presented here. If the database cannot process peak visiting times quickly enough, it first writes the data to a simple logfile (Flat File Based Event Queuing, [15]) and then parses it via a PHP call:
/path/to/php5 cli.php cmd=processEventQueue
Piwik offers a similar function in the form of Queued Tracking [16], which was added in the form of a plugin in 2015. But, in this case, the software writes its data to a Redis instance rather than directly to a classic database.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.