As a content creator, I like to know page analytics of my website. Overall, I am curious to learn how many people are reading my content, where they came from (referrer and countries) and what are the most popular pages.
20 years ago, tools like Webalizer were all that we could count on. This tool parses the Apache logs and create static pages with the processed data. Another way to get page analytics would be inserting an image - often invisible - in your website. By using the request headers sent to the server, people could count visitors and get a little bit more information such as origin IP, browser, operational system. The technique is old but services like statcounter are still around providing this functionality.
In 2005 Google launched Google Analytics after acquiring Urchin, a company which also analyzed server logs. Its presence has been growing since the early days and it is far from any competitor. There are a few reasons why you should stop using Google Analytics on your website:
- It is owned by Google: Google uses Analytics in their benefit.
- It affects site's speed, by adding 45KB in page requests.
- It is too invasive, collecting lots of personal data that you don't need.
- It is blocked by many plugins and browsers, creating inaccurate data.
With all of this in mind, I want to share a few open-source alternatives I have been looking at in the last few months.
umami shows the same data available in the lite version of Fathom plus information about countries, browsers, operational system and device data.
I think I first heard about Plausible (demo) in the "De-Google-ing your website analytics" Changelog podcast. From a product perspective, it is nice to see a public roadmap out in the wild so customers can learn what is coming next.
Their plans start at $6/month and go up according to your page views - like Fathom. They have an alpha self-hosted option (I didn't have a chance to test it)
There are alternatives out there and you don't need to worry about privacy or big corp looking at your users with these options. Their setup time is very similar among themselves and once you have it done, you can add multiple sites, as you do with Google Analytics.
I don't have a favourite here. Feature-wise, umami gives all the basic information you may be curious about it for free and it is very easy to setup in services like Vercel or Netlify. Both Fathom and Plausible offer free trials so you can easily test their solutions before deciding it.
Do you know another minimalist, open-source alternative to Google Analytics? Let me know in the comments.