If you have a website or run an online business, collecting data on where your visitors or customers come from, where they land on your site, and where they leave is vital. Why? That information can help you better target your products and services, and beef up the pages that are turning people away.
To gather that kind of information, you need a web analytics tool.
Many businesses of all sizes use Google Analytics. But if you want to keep control of your data, you need a tool that you can control. You won’t get that from Google Analytics. Luckily, Google Analytics isn’t the only game on the web.
Here are four open source alternatives to Google Analytics.
Let’s start with the open source application that rivals Google Analytics for functions: Matomo (formerly known as Piwik). Matomo does most of what Google Analytics does, and chances are it offers the features that you need.
Those features include metrics on the number of visitors hitting your site, data on where they come from (both on the web and geographically), the pages from which they leave, and the ability to track search engine referrals. Matomo also offers many reports, and you can customize the dashboard to view the metrics that you want to see.
To make your life easier, Matomo integrates with more than 65 content management, e-commerce, and online forum systems, including WordPress, Magneto, Joomla, and vBulletin, using plugins. For any others, you can simply add a tracking code to a page on your site.
You can test-drive Matomo or use a hosted version.
Open Web Analytics
If there’s a close second to Matomo in the open source web analytics stakes, it’s Open Web Analytics. In fact, it includes key features that either rival Google Analytics or leave it in the dust.
In addition to the usual raft of analytics and reporting functions, Open Web Analytics tracks where on a page, and on what elements, visitors click; provides heat maps that show where on a page visitors interact the most; and even does e-commerce tracking.
Before you download the Open Web Analytics package, you can give the demo a try to see it it’s right for you.
Web server log files provide a rich vein of information about visitors to your site, but tapping into that vein isn't always easy. That's where AWStats comes to the rescue. While it lacks the most modern look and feel, AWStats more than makes up for that with breadth of data it can present.
That information includes the number of unique visitors, how long those visitors stay on the site, the operating system and web browsers they use, the size of a visitor's screen, and the search engines and search terms people use to find your site. AWStats can also tell you the number of times your site is bookmarked, track the pages where visitors enter and exit your sites, and keep a tally of the most popular pages on your site.
These features only scratch the surface of AWStats's capabilities. It also works with FTP and email logs, as well as syslog files. AWStats can gives you a deep insight into what's happening on your website using data that stays under your control.
Countly bills itself as a "secure web analytics" platform. While I can't vouch for its security, Countly does a solid job of collecting and presenting data about your site and its visitors.
Heavily targeting marketing organizations, Countly tracks data that is important to marketers. That information includes site visitors' transactions, as well as which campaigns and sources led visitors to your site. You can also create metrics that are specific to your business. Countly doesn't forgo basic web analytics; it also keeps track of the number of visitors on your site, where they're from, which pages they visited, and more.
You can use the hosted version of Countly or grab the source code from GitHub and self-host the application. And yes, there are differences between the hosted and self-hosted versions of Countly.
Plausible is a newer kid on the open source analytics tools block. It’s lean, it’s fast, and only collects a small amount of information — that includes numbers of unique visitors and the top pages they visited, the number of page views, the bounce rate, and referrers. Plausible is simple and very focused.
What sets Plausible apart from its competitors is its heavy focus on privacy. The project creators state that the tool doesn’t collect or store any information about visitors to your website, which is particularly attractive if privacy is important to you. You can read more about that here.
There’s a demo instance that you check out. After that, you can either self-host Plausible or sign up for a paid, hosted account.
Share your favorite open source web analytics tool with us in the comments.
This article was originally published in 2018 and has been updated by the editor.
Get the highlights in your inbox every week.