HACKER Q&A
📣 olzhasar

What do you use to track visitors on your blog?


I recently reanimated my blog and I would like to add analytics to it. I don't want to mess with user contents, are there any free alternatives to GA that one can use?


  👤 pdevr Accepted Answer ✓
If you plan to sell ads on the blog or sell the blog itself at a future point of time, you will need to use some company acceptable to them. Google Analytics, Adobe Analytics, ....

If it is just to know more about your visitors, then there are plenty of options.

Piwik (now named as Matomo) is a very popular open-source option. I would argue, it is the most popular one out there. If you run into a problem, you will find support out there.

If you use a CDN like CloudFlare, they provide analytics sometimes, like Cloudflare Web Analytics.

If you use a shared web host, most of them support AWStats or something similar, where you can find out more about your visitors.

If you like tinkering with stuff, use an open source option.

If you want a free option, choose an open source option or go with CDN-provided or host-provided options.

If you want to run with minimal fuss, choose one of the popular options.

If you want to write one yourself, pick one from Github, fork and get going. It is not too difficult. I have written one from scratch once and used to use it on my sites, and it wasn't too difficult.


👤 mhrmsn
Umami, self-hosted, but they also have a cloud version with a free tier if you prefer that.

https://github.com/umami-software/umami


👤 LinuxBender
AWstats [1] on an isolated machine. I just pull down logs to it from each node to keep logs off the live servers. It is included in many Linux distributions as well. AWStats should be behind strong authentication if exposing on a public web server.

[1] - https://awstats.sourceforge.io/


👤 AdilZtn
Tinybird is perfect, I use it for a couple of months. The interface is clear, minimalist, and easy to use. https://www.tinybird.co/starter-kits/web-analytics

👤 openplatypus
Wide Angle Analytics!

If you make proper discolures in your privacy policy and use our default, strong privacy cookieless settings, you won't need cookie banner and consent form.

https://wideangle.co


👤 labarilem
https://counter.dev/

Don't need advanced use cases, not interested in monetization. Counter.dev got me because:

- it's simple

- respects users' privacy

- has a pay-what-you-want model


👤 drakonka
I just use CloudFront access logs stored in an S3 bucket. When needed I query through Athena, but eventually it'd be nice to get some kind of visual report generated as well.

👤 XCSme
Is your blog on WordPress? Then check out WPLytic[0], there is a lifetime promotion running currently.

[0]: https://wplytic.com


👤 nicbou
Plausible on the website I live from, and nothing on my personal blog. I don't need to know who visits my personal blog, so I prefer not to know.

👤 dotcoma

👤 colesantiago
If you really need to track visitors the best way is through nginx log files.

All other tracking methods is an invasion of privacy.


👤 cpach
Nothing at all. Partly because of the privacy issue and also because I can’t be bothered to learn the tooling.

👤 krapp
Webalyzer.

It's all bots trying to find wordpress exploits that aren't there.


👤 speedgoose
Plausible.

👤 perilunar
Please don't track anyone. If you just want to count visitors, then Simple Analytics is good.