fathom - Looks great. I am OK with closed source products (my motivation is self-hosting/privacy) but the direction is not clear to me. Maybe they will have a blog about it at some point - https://github.com/usefathom/fathom/issues/268. Having multiple code bases is going to be super hard.
goaccess.io - this analyses web logs
google-analytics-proxy - project is dead
matomo - this is what i use now and it works great. has a lot of quirks but if you spend some time, you can make it work.
ackee, goatcounter - simple but looks like this does not track users/sessions. it's mostly for page hits.
countly - looks good if you are enterprise. there is no pricing :(
freshlytics (from another thread) - page says it's in beta and not production ready
As for Fathom, I find that last "since that people are confused"-comment rather funny, since their messaging on this has been confused for almost a year, haha
- Goatcounter also came up a few days ago on HN and got a lot of traction/discussion[1]
I can't find the comment it was posted in, but a HN user did a good comparison of a few privacy-focused analytics tools[2]
[0] https://simpleanalytics.com/
[1] https://news.ycombinator.com/item?id=22044854
[2] https://dev.to/hmhrex/a-comparison-of-the-top-3-privacy-focu...
Edit: I found the OG comment for the blog post: https://news.ycombinator.com/item?id=21716544
Doing log-analysis has its own drawbacks: not everyone has access to them, bot traffic will be a lot higher, and certain information is hard to access (like screen size). You can't always "just" use it.
(Netlify does sell access to log data but it looks expensive for most hobby / personal sites)
Basically, if it accepts a GET with query parameters, it should work.
But any service that sends something like "GET example.com/collect?path=/foo" can be loaded with an <img>. It's perhaps not an explicitly documented feature, but it will still work :-)
With our open-source data collection framework like RudderStack (an alternative to Segment), dumping data into a warehouse (Redshift/BigQuery/Druid etc) and sticking another open-source visualization layer on top (e.g. like SuperSet), it is possible to put together an alternative to Google Analytics. One of our early users did it and we wrote a blog about it