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
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.