Hacker News new | ask | show | jobs
by octref 1748 days ago
Does anyone have recommendation for static site hosting with simple server-side analytics? The only thing I can find is Netlify Analytics, but $9/mo is too much for hosting a few pages of OSS project documentations.

If there's no complex interactivity achieveable only through JS, I prefer to ship sites with plain HTML/CSS, so I don't really like to use any client-side analytics. And yes – I can live without all the fancy features to track and profile my visitors.

I don't want to host by myself either, since I enjoy using a simple git push to deploy my site.

6 comments

Netlify analytics is very inaccurate to begin with-- it was showing me I was getting 20,000 visits a month on a 5 year old blog I never updated!

Moving to a normal analytics, the number is closer to a dozen, maybe a few hundred.

I suspect Netlify doesnt remove bot traffic

If you are willing to go a bit more hands on:

* Use a CDN which provides access logs (AWS Cloudfront, logs are stored in S3, Azure supports this too i think) * Feed those logs into a self-hosted analytics solution, like goatcounter [1]

[1] https://github.com/zgoat/goatcounter

How about Pirsch [0]? It starts at $4/month and you can set up as many sites as you want for up to 10k page views/month. That should be sufficient for most smaller sites.

[0] https://pirsch.io/

I use AWS Cloudfront on top of my static blog to get basic analytics (and some edge caching). It is almost free.
CloudFlare Pages does this.