Live data from Hacker News

Lightweight Alternatives to Google Analytics

lwn.net

11–20 of 320 posts

Re: Lightweight Alternatives to Google Analytics

#11
I'm honestly curious, are all the analytics tools, which rely on making third party queries, still efficient with extensive use of adblocking these days?

If not, then logs of webservers are the only 100% reliable place (if available of course), so old-style tools like awstats, Webalizer, etc [1] should have a rise in popularity again.

[1] https://en.wikipedia.org/wiki/List_of_web_analytics_software

Re: Lightweight Alternatives to Google Analytics

#12
post #11

I'm honestly curious, are all the analytics tools, which rely on making third party queries, still efficient with extensive use of adblocking these days? If not, then logs of webservers are the only 100% reliable place (if available of course), so old-style tools like awstats, Webalizer, etc [1] should have a rise in popularity again. [1] https://en.wikipedia.org/wiki/List_of_web_analytics_software

The issue is that people often use free reverse proxies like cloudflare, that do caching, so not all requests reach the original server.

In this case, the source of truth is cloudflare's loadbalancer, but you have to pay them to get full analytics.

Re: Lightweight Alternatives to Google Analytics

#14
post #10
post #5

I’ve been pretty happy with Matomo (formerly Piwik), especially their non-cookie mode. But the interface is ugly, confusing, and makes finding information much more difficult than Google Analytics does. Edit: One major thing I am unhappy with in Matomo is event tracking. GA makes it much easier (in my experience) to track conversions and events, and presents the data in a better way.

I found the Matomo interface to be a breath of fresh air compared to Google Analytics! As a non-power user, GA was too heavy and enterprise-like. Matomo is much cleaner, simpler, and more efficient for me to work with.

I’m surprised to hear that! Are you using a different theme?

Re: Lightweight Alternatives to Google Analytics

#15
I've recently whipped up my own self-hosted analytics solution [0] based on SQLite, Bash and Metabase. It's all self hosted, easy to install and very flexible with regards to the queries you can write and display. Metabase comes with a lot of cool features for display, live reload and other cool stuff. :)

[0]: https://funnybretzel.com/self-hosted-analytics-using-sqlite-...

Re: Lightweight Alternatives to Google Analytics

#16
What kind of server-side analytics are people using today, for personal blogs and things? Projects like GoAccess which eat an nginx log file and output some analytics seem like a nice middle ground for those of us who want some feedback on how people are using a website, without needing all the bells and whistles of something more like Google Analytics (not to mention the fact that it doesn't need any Javascript loaded or anything). Personally I've found GoAccess pretty good, but the interface a little difficult to use and understand, so I'm looking for projects like it.

Re: Lightweight Alternatives to Google Analytics

#17

Does anyone have experience with passive fingerprinting? I thought about implementing it into our Go backend as a middleware of some kind and track that way. I haven't found anything like it so far, but it would be ideal to track without cookies.

Device fingerprinting falls under European data protection laws, so might as well just use cookies if you're going that path.

Re: Lightweight Alternatives to Google Analytics

#18
Thanks for mentioning Simple Analytics [1]. We are at this point indeed only cloud based. We believe we need to make a business case/profit first before putting a lot of extra work in a open source version and maybe failing with the business. It's a dream to make it open source, but not at this time.

We are very firm on our values. We will never sell your data. We have many ways to get your raw data out of our system (API, download links, ...).

Our collection script [2] is open source and today we are also adding source maps to our public scripts. Open source does not guarantee that a business runs that same software as their cloud based option. We are looking into services that can validate what we collect on our servers. We never collect any IPs of personal data [3].

Great to see more products that care about privacy, I hope they will really care and commit to their values for a long time.

[1] https://simpleanalytics.com

[2] https://github.com/simpleanalytics/scripts

[3] https://docs.simpleanalytics.com/what-we-collect

Re: Lightweight Alternatives to Google Analytics

#19

If you decide to migrate off GA, there's very little reason to not use self-hosted analytics. The only case when you'd get better analytics from a _service_ is exactly a GA-like setup that can track people as they go from one website to another. That is, the real value of an analytics service is derived directly from its ability to invade people privacy, at scale. Granted, migrating to another service is usually simp…

>The only case when you'd get better analytics from a _service_ is exactly a GA-like setup that can track people as they go from one website to another.

I was once making a service that provided cross site widgets for companies to embed. Obviously it was beneficial to track people as they go from one website to another, but at that point it was beneficial to do it with our own service.

Re: Lightweight Alternatives to Google Analytics

#20

If you decide to migrate off GA, there's very little reason to not use self-hosted analytics. The only case when you'd get better analytics from a _service_ is exactly a GA-like setup that can track people as they go from one website to another. That is, the real value of an analytics service is derived directly from its ability to invade people privacy, at scale. Granted, migrating to another service is usually simp…

Server logs only tell you about things that happen on your server. If you are using JavaScript it's likely there are plenty of events that might be valuable to you that never leave a trace in your logs.

For example, if you validate forms with JS you might want to track form submissions and validation errors.

Post reply on HN