Live data from Hacker News

Lightweight Alternatives to Google Analytics

lwn.net

181–190 of 320 posts

Re: Lightweight Alternatives to Google Analytics

#181
post #101

Earlier quoted context omitted.

Unless your page is google.com, where more time spent on page means the experience is worse, not better.

Counter example: I search for information on a subject. I get many interesting and relevant results and therefore spend more time on the page.

This makes it even more obvious that a longer or shorter session length is not clearly better or worse, it depends on a lot of other things.

Re: Lightweight Alternatives to Google Analytics

#182

I have my own self-hosted Matomo instance [1]. Via Docker & docker-compose it's quite easy to install and keep up to date and Matomo is open source, well maintained, very well behaved and pretty hands off. And I configured it on my websites with cookies turned off [2] and with IP anonymization [3]. In such an instance you don't need consent, or even a cookie banner, because you're not dropping cookies, or collecting…

I self-hosted Matomo for a year and a half (and took over the AUR package for it and improved it in the process). It was no trouble to run, but I ended up uninstalling it late last year, for a few reasons: its interface is painfully slow (and that’s nothing to do with my 1GB/1 vCPU VPS—I’ve interacted with a decent-sized instance at innocraft.cloud and it was similar), and I seldom looked at it, and I couldn’t think…

Exact same reasoning here. I was burdening my users with slower load times, for something that didn't ever impact my "product" decisions. For any meaningful analysis, I always pulled up server side logs of things.

So I changed to GoAccess too. I don't check it too often, just when I want to see the impact of some spam/publicity posting around.

Re: Lightweight Alternatives to Google Analytics

#183
post #180

I have my own self-hosted Matomo instance [1]. Via Docker & docker-compose it's quite easy to install and keep up to date and Matomo is open source, well maintained, very well behaved and pretty hands off. And I configured it on my websites with cookies turned off [2] and with IP anonymization [3]. In such an instance you don't need consent, or even a cookie banner, because you're not dropping cookies, or collecting…

How do you actually host this? Do I need a VPS or is more of like a Heroki thing?

You can easily set it up on a VPS with docker, check github for instructions.

Re: Lightweight Alternatives to Google Analytics

#184
post #114

Earlier quoted context omitted.

Out of interest, if you say you honor DNT, how exactly do you handle browsers that do not allow setting this as a user preference anymore (Firefox, Safari)?

Firefox's settings (as of v77) still allow you to set (or unset) DNT, and I honor that. For Safari unfortunately, Apple chose to remove this feature because it could be used for fingerprinting, so there is not much to be done here.

Interesting, did Firefox revert their decision towards DNT? I remember being confronted with the behavior of it sending DNT headers no matter what, which must have been something around spring 2019.

Re: Lightweight Alternatives to Google Analytics

#185

The best alternative to Google Analytics is Parse.ly [1]. It's privacy-conscious, reliable, and user-friendly. Most importantly, it gives you important engagement metrics instead of vanity metrics. [1] https://parse.ly/overview

If you are related to parse.ly: it's really confusing that clicking "pricing" doesn't show the pricing first.

Re: Lightweight Alternatives to Google Analytics

#186

I often read posts stating a great deal of discouragement for self developed analytic solutions. I've recently developed a home rolled solution for a product I'll hopefully launch soon. There's no UI for my signals application, but it should give me raw access to all the GA metrics people typically look for (pages, referrers, user agents, etc). Storage could be pain point. Compute might also turn out to be, but if th…

Opportunity cost. Hacker News has some of the best developers in the world reading it. $100-500 / hourly rates. Why would they spend their time building & maintaining something when they could pay $140 / year for a top tier, privacy-focused analytics product like Fathom, where both founders work full time on it?

Then you have redundancy of data. How are they backing up historical data? Are they running with failovers? How will their analytics do in the event that they get a hug of death from Hacker News or Reddit? There are so many factors to consider.

I don't think we should discourage people from rolling their own if they enjoy it. Heck, I've built things that existed. That's how we get better. I'm just sharing why a lot of developers won't roll their own.

Re: Lightweight Alternatives to Google Analytics

#187

Earlier quoted context omitted.

Server side was how it was always done back in the early days of the web, and analog[0] was state of the art. Around 1999/2000 there was a rise of ISPs needing to install reverse proxy caches because the growth of consumer access meant they were getting seriously contended on upstream access. I was working at the time at a UK 0845 white label ISP called Telinco (was behind Connect Free, Totalise, Current Bun and othe…

Caches are irrelevant now that the world has moved to HTTPS.

There are no public caches with HTTPS, but there are still private browser and CDN caches to contend with.

To ensure your origin server is hit on subsequent HTTPS requests, you would still need to configure response headers for cache validation [1] to be

  Cache-Control: no-cache
instead of

  Cache-Control: private
[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ca...

Re: Lightweight Alternatives to Google Analytics

#188

Maybe stop spying on people? EU be like you have to put up this banner to tell them you are spying... it super annoying and everyone hates it... and you be like "sure, I love me some spying".

How do you define 'spying'? It's near impossible to invent or discover almost anything, without something tangible to observe.

I suppose the purpose of why certain collections of data are put together is where all the anger rightfully comes from, but calling for a complete armistice on all (even innocuous) forms of data collection is a little churlish.

You do it in microcosm too, you know. How many pictures do you have on your phone, that contain people you don't know?

Re: Lightweight Alternatives to Google Analytics

#189

I've been happily using Fathom Analytics: https://usefathom.com and I have zero complaints. No tracking. Privacy focused. Lightweight. You embed from your own domain. They even do site monitoring now!

Thanks James. You wait till we launch V3 ;)

What's new for V3?

Re: Lightweight Alternatives to Google Analytics

#190
post #180

Earlier quoted context omitted.

How do you actually host this? Do I need a VPS or is more of like a Heroki thing?

You can easily set it up on a VPS with docker, check github for instructions.

Right, I found the official docker image https://github.com/matomo-org/docker

But I was hoping for a simple DIY guide for setting everything up? I mean with Google Analytics a dummy can set it up very quickly. I know it'll take more work with matomo, but I need a little more details then just "use docker".

I know I need a VPS, something like Digital Ocean.

I know I need the matomo docker image.

Post reply on HN