Using analytics on my website
azan-n.com
azan-n.com
I should mention that we have a ton of SDKs (see https://posthog.com/docs/libraries) for back end frameworks and languages, so if you wanted to use PostHog without any client-side JS you could send pageviews and other events manually, but for the vast majority of people it makes more sense to use our JS snippet.
Hijacking this comment to share the roadmap for web analytics https://github.com/PostHog/posthog/issues/18547. It's very much in the launch-early-and-be-embarassed phase, but I would love to hear any feedback or suggestions that people have, particularly if you're already a PostHog user.
I figured I could use PostHog on a server as well but if I was doing that anyway, I'd probably use something better suited for the use-case instead of PostHog. I did notice the Web Analytics feature and turned the toggle on for my workplace but I haven't gotten around to using it and haven't heard about it from my team either. Will get back to you if I have anything to share. Cheers.
If I remember correctly, CloudFlare Analytics does not need you to register your domain with them. I personally feel keeping domain registration coupled with your DNS provider is not a good idea.
Plausible[2] has an Open Source self-hostable version but is not so updated in sync with their SaaS version.
Umami[3] is another simple, clean one. And, of course, as many have suggested, Matomo is the other well-established one. If you want to avoid maintaining a hosting routine, a lot do the hosting out of the box these days. PikaPods[4] was good when I tried and played around for a while.
1. https://posthog.com/docs/web-analytics
To compare, my website gets around 600 visitors per day according to Analytics, while Cloudflare says something around 4k. Who should I trust?
Also, if Cloudflare would add visitors per page, I would completely remove Analytics. I only want to know visitors per day, country, and the most visited webpages. That's more than enough.
But anything smaller than that and analytics are mostly vanity metrics. A lot of the traffic is going to be bots anyway.
Write for pleasure. If you must, look for qualitative signals like discussions of the article on HN or Twitter.
I removed any analytics from my blog because I'm already obsessed enough with silly star counts. It manages to completely suck away all the joy; ignorance is bliss here. I found that the rare email or comment from some random person saying that they found something useful is much more fulfilling and at the same time less invasive of my brain activity.
What those metrics mean to oneself is different for everybody. Also, being a vanity metric and being useful are not mutually exclusive either.
Not saying ignoring all that is bad, just my reasons for wanting analytics and not just ego stroking and vanity metrics.
Maybe others create in a void, but I'll play my piano poorly rather than write about software documentation if I'm doing something for pleasure.
With everything else, I agree. I write as a means of documenting my findings and sharing it with others and surely the discussion section here on HN is where it becomes useful to me where I can engage in constructive conversation and learn new things.
Thanks for reading the article, cheers.
1. Netlify analytics, which I’ve tried in the past and found under-powered
2. CloudFlare analytics (yes, there’s a No-JS variant in the Pro plan)
3. get your raw access logs from your host, and throw them at GoAccess/…. BunnyCDN seemed like the simplest provider for this with access to raw logs in the standard tier. Both CloudFlare and Netlify restrict this to the Enterprise tier.
For a personal website with many readers (say more than 100 views per day), it's vanity in the best case, and bad influence in the worst case (one should not produce content just to make more views, that's the lesson we get from social media). Therefore it's useless, at best.
For commercial websites I don't know. If I had to guess, I would say it's not making the world a better place, but maybe it helps someone justifying their job (which I see as a reason, but not as an excuse).
If you want it done for you, then:
Matomo Cloud
Piwik Pro
Wide Angle Analytics
...
plenty of choices
Original article: https://marvinblum.de/blog/server-side-tracking-without-cook...
Product: https://pirsch.io
[0] Before this comes up again: Yes, we checked professionally with an external DPO and it was checked by some companies you've probably heard of externally.
Thanks for reading the post, cheers.
It's super fast and it takes away one more thing to monitor and keep up, it's not as if I'm running an e-commerce site.
However, I must say your idea is a very good one!
- If the analytics don't change the way you write, then they are useless overhead. - If they change the way you write (because you try to maximize the number of views), then they may be toxic.
IMO you should write what you have to say, not what you believe people will want to read (with the help of tracking).
When I realized that, I removed GoatCounter from my website, which is now a minimal, static, no-javascript, no-tracking personal blog. And it feels good.