News for hackers. Stuff that matters.

Ask HN: Any alternatives to Google Analytics that don't require cookies?

I like having an idea of how many people visit my blog but I'm wondering if there's a better privacy conscious solution for simple analytics (don't need advanced features like sales conversions etc.) which would also be GDPR compliant without adding cookie banners.

Hackers with the same use case (simple blog pages visitors count) what are you using?

( 43 comments | on HN )
Re:Ask HN: Any alternatives to Google Analytics that don't r... by duiker101 on Tuesday March 14, 2023 @11:12AM (#35152780)
Just today there was this thread which about one of the alternatives which looks nice https://news.ycombinator.com/item?id=35143052

In there you can find also a link to a list of European alternatives https://european-alternatives.eu/category/web-analytics-serv...

Re:Ask HN: Any alternatives to Google Analytics that don't r... by labarilem on Tuesday March 14, 2023 @12:18PM (#35153912)
Thanks, missed the thread!
Re:Ask HN: Any alternatives to Google Analytics that don't r... by marvinblum on Tuesday March 14, 2023 @03:59PM (#35157482)
https://www.gocookieless.com/ is also a good place to find analytics services :)
Re:Ask HN: Any alternatives to Google Analytics that don't r... by mattbgates on Tuesday March 14, 2023 @12:11PM (#35153817)
I developed this one a few years ago... it does have an advanced feature, though many websites are just using it for the simple fact that it's a counter. Doesn't use any cookies.

https://justcounts.com

Re:Ask HN: Any alternatives to Google Analytics that don't r... by labarilem on Tuesday March 14, 2023 @12:17PM (#35153901)
Love the simple design. Is there a way to have private data though?
Re:Ask HN: Any alternatives to Google Analytics that don't r... by mattbgates on Tuesday March 14, 2023 @12:21PM (#35153956)
The data is only viewable by you. As for hiding the counter, there's an option to set the image to display: none. Then just grab the ID of the counter and navigate to the bottom of the page, where you can click on "count" and get your tracking data right there if the counter isn't visible on your website.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by fsflover on Tuesday March 14, 2023 @12:31PM (#35154137)
Re:Ask HN: Any alternatives to Google Analytics that don't r... by jesterson on Wednesday March 15, 2023 @03:46AM (#35165122)
Not sure why you have been downvoted - it's a great product.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by encoderer on Tuesday March 14, 2023 @12:37PM (#35154239)
Our real user monitoring will give you sessions, pageviews, performance and errors - all without cookies!

https://cronitor.io/real-user-monitoring

Re:Ask HN: Any alternatives to Google Analytics that don't r... by unmole on Tuesday March 14, 2023 @12:38PM (#35154244)
Re:Ask HN: Any alternatives to Google Analytics that don't r... by ezekg on Tuesday March 14, 2023 @12:53PM (#35154489)
Fathom analytics or Plausible analytics. I use Fathom.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by quectophoton on Tuesday March 14, 2023 @01:15PM (#35154872)
> Data that has been encrypted de-identified or pseudonymized but can be used to re-identify a person is still personal data.

https://www.gdpreu.org/the-regulation/key-concepts/personal-...

Re:Ask HN: Any alternatives to Google Analytics that don't r... by bartvk on Tuesday March 14, 2023 @01:19PM (#35154940)
Have you checked Simple Analytics?

https://www.simpleanalytics.com/

They have a great blog, very vocal about GDPR and related issues.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by hoofhearted on Tuesday March 14, 2023 @01:30PM (#35155138)
Plausible Analytics
Re:Ask HN: Any alternatives to Google Analytics that don't r... by ksherlock on Tuesday March 14, 2023 @02:20PM (#35156104)
If it's your web server, you can analyze the apache/nginx/iix/etc logs.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by JohnFen on Tuesday March 14, 2023 @02:37PM (#35156400)
My log files. There are numerous log file parsing utilities that make analyzing them very easy, too.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by JohnFen on Tuesday March 14, 2023 @06:16PM (#35159803)
I don't mind downvotes, but I'm extremely curious about why this particular comment got them. I was directly answering the OP's question with what I personally do. Is my practice something so absurd that it earned downvotes? If so, I need to know what's wrong with it so that I can consider alternatives.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by codegeek on Wednesday March 15, 2023 @01:55AM (#35164436)
I didn't down vote you becauise it seems like you tried to answer genuinely but your comment is dismissive and doesn't add value to the actual question about Google analytics alternative. It sounds more like "just use logs"

Parsing logs is not as simple as adding an analytics script and will require a lot of technical work. Not everyone would want to do that and it doesn't directly answer the question apples to apples.

Hope this helps.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by JohnFen on Wednesday March 15, 2023 @11:37AM (#35169944)
Ahh, I see. Thank you. I was certainly not trying to be dismissive at all, I was trying to provide a helpful answer. I just missed the target.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by shll on Tuesday March 14, 2023 @02:46PM (#35156538)
Hi - co-founder of Beam Analytics here. We're cookie free & GDPR compliant. The product also comes with funnel analysis, cohort retention, custom events and has a 100k page view free tier. Check out beamanalytics.io. Thanks!
Re:Ask HN: Any alternatives to Google Analytics that don't r... by alex_suzuki on Tuesday March 14, 2023 @02:56PM (#35156697)
I’m using Plausible (https://plausible.io) and it’s great, breath of fresh air compared to GA.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by h0l0cube on Tuesday March 14, 2023 @04:37PM (#35158105)
+1 on Plausible

> Even though the purpose of Plausible Analytics is to track the usage of a website, this can still be done without collecting any personal data or personally identifiable information (PII), without using cookies and while respecting the privacy of the website visitors.

https://plausible.io/data-policy

Re:Ask HN: Any alternatives to Google Analytics that don't r... by Cardinal7167 on Tuesday March 14, 2023 @10:16PM (#35162855)
Another +1 for plausible. Super easy setup and hasn’t crashed in a year plus in production for me.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by nicbou on Wednesday March 15, 2023 @03:20AM (#35164973)
+0.5 from me

It's good. It gives you all fh the information you need for a personal or small website.

If you want insights, then it gets harder. You can't see the navigation flow through the website, or meaningfully visualise events with multiple parameters. There are more such limitations.

But for counting visitors? It's awesome. The people behind it are great, they listen to user feedback, and they really seem to care about their product. I can wholeheartedly recommend it.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by mekster on Thursday March 16, 2023 @04:24PM (#35187951)
Who really cares about plain visitor counts? What matters are the user journey and segmented event analysis.

You'll soon not care to see counts because it's not actionable at all.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by fmerian on Wednesday March 15, 2023 @03:54AM (#35165187)
+1 on Plausible

Clean, delightful UI. Digestible and actionable.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by entrepy123 on Tuesday March 14, 2023 @03:22PM (#35157008)
Pirsch has been easy and great IME.

[0] https://pirsch.io

[1] https://hn.algolia.com/?query=pirsch.io

Re:Ask HN: Any alternatives to Google Analytics that don't r... by jamietanna on Tuesday March 14, 2023 @04:55PM (#35158420)
I've not had a chance to use it yet but https://squeaky.ai appears to be pretty great for privacy, and mentions being cookieless
Re:Ask HN: Any alternatives to Google Analytics that don't r... by Chris86 on Tuesday March 14, 2023 @05:17PM (#35158843)
hey Jamie, I just received a notification from F5Bot about you mentioning Squeaky on HN (I'm one of the cofounders) and thought I'm come and say hello ヽ(∀ )ノ

We are indeed cookieless, and don't use IP-based tracking either, though we do screen IPs if you're using our IP-screening functionality to keep your teams internal data out of your analytics (optional). We also suppress data capture of sensitive data client-side by default, particularly helpful to ensure session recordings don't accidentally scoop up personally identifiable text-based data, and there are lots of other ways to fine-tune which data you do and don't want to capture.

If you'd like a demo some time feel free to get in touch via [email protected] :) Also happy to chat about alternatives and their pros and cons, the privacy-first analytics space is heating up nowadays!

Re:Ask HN: Any alternatives to Google Analytics that don't r... by adhesive_wombat on Tuesday March 14, 2023 @06:35PM (#35160089)
You only need cookie banners if your cookies represent data you need to get consent for. If you only have cookies you actually need for technical reasons, or cookies that don't represent any kind of personal information, then you don't need a banner. Wikipedia has plenty of cookies, for example, and yet has no banners.

Also, if you collect data you need consent for, it didn't matter if they're cookies or something else. It's not the cookies that are being consented to, it's the data collection.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by labarilem on Wednesday March 15, 2023 @05:40AM (#35165794)
Thanks for the explanation. So can a "unique visitors count" metric be implemented without requiring personal information?
Re:Ask HN: Any alternatives to Google Analytics that don't r... by XCSme on Tuesday March 14, 2023 @06:37PM (#35160125)
I am building some:

Self-Hosted GA and Hotjar alternative: https://uxwizz.com/

WordPress self-hosted analytics plugin: https://wplytic.com/

Re:Ask HN: Any alternatives to Google Analytics that don't r... by notmypenguin on Wednesday March 15, 2023 @03:47AM (#35165131)
Plausible and Goatcounter
Re:Ask HN: Any alternatives to Google Analytics that don't r... by notmypenguin on Wednesday March 15, 2023 @03:50AM (#35165154)
Plausible is polished looking but it’s major flaw is trying to backup its clickhouse and Postgres from the containers they run in that had me rolling my eyes. Containerized apps have drawbacks…

Goatcounter ends up being more flexible, once you realize that their “everything is just a path” approach actually DOES give you what you need, and backing it up is a matter of SQLite dumping to a file even mid-action and it’s done

Re:Ask HN: Any alternatives to Google Analytics that don't r... by herbst on Wednesday March 15, 2023 @04:35AM (#35165441)
I am using shynet for a while now. More than enough data for me, blazing fast, and simple.

https://github.com/milesmcc/shynet

Re:Ask HN: Any alternatives to Google Analytics that don't r... by labarilem on Wednesday March 15, 2023 @05:42AM (#35165803)
Cool although I'm trying to avoid self hosting for this task.
Re:Ask HN: Any alternatives to Google Analytics that don't r... by herbst on Wednesday March 15, 2023 @07:49AM (#35166780)
I get that, however consider to put one of those tiny trackers on a $5 VPS. And have a once and for all solution for all your projects.

Shynet really is super lightweight.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by tmaly on Wednesday March 15, 2023 @08:36AM (#35167308)
I installed Matomo analytics as a wordpress plugin.

I generally use firefox focus to browse the web, so any site includes my own would block google analytics.

My criteria was that I needed something that is a part of my blog and can also handle utm parameters so I can track where traffic is coming from.

This plugin fit the criteria, so I use it in addition to GA.

I believe it is GDPR compliant.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by 4ft4 on Wednesday March 15, 2023 @09:38AM (#35168146)
I can also throw in an open-source free alternative that we use and are very happy with: https://umami.is
Re:Ask HN: Any alternatives to Google Analytics that don't r... by rpastuszak on Wednesday March 15, 2023 @12:31PM (#35170814)
umami.is (self hosted)

- easy to set up (Vercel + Railway in my case, but there are even more simple approaches) - easy to add to new projects (takes 1 minute to embed) - does 99% of what I need (I'd like to see a nicer funnel UI, which I think it's coming in v2)

Re:Ask HN: Any alternatives to Google Analytics that don't r... by gmsiperx on Wednesday March 15, 2023 @04:03PM (#35173962)
Try https://usermaven.com. It comes with events autocapturing saving you from the hassle of writing code to track simple events. It is privacy-friendly and hosted in EU.

I am one of the co-founders.

Re:Ask HN: Any alternatives to Google Analytics that don't r... by goatmobile on Thursday March 16, 2023 @02:13AM (#35178743)
I use "Google Analytics" [0], just a simple JavaScript snippet to fire off to a Google Form that sends responses to Google Sheets. It obviously has a ton of pitfalls but it works for me.

[0] https://goatmobile.github.io/blog/posts/forms-analytics/

Re:Ask HN: Any alternatives to Google Analytics that don't r... by openplatypus on Saturday March 18, 2023 @04:19PM (#35212722)
Hey, definely check Wide Angle Analytics. Cookieless or with cookies. You decide :)

https://wideangle.co

If you need selfhosted solution got for Matomo.

If you choose other solution, scrutinize their GDPR claims, you will be sruprised.