Show HN: I built an opensource, privacy-first Google Analytics
swetrix.com
swetrix.com
One year ago, in April, I had an idea to create my own web analytics service, which would be much more private and provide alternative functionality of Google Analytics.
Meet Swetrix - a completely opensource, cookieless, self-hosted and privacy-focused web analytics platform.
This service allows you to track many different metrics such as user country, device type, browser, and more. Apply filters to the data, extensively customise your tracking options and your website settings. Feel free to check out our live demo! :)
The API is written in NestJS, as databases I use MySQL, Redis and Clickhouse. Frontend (and the browser extensions) are written in React.
I learnt a lot about analytics and coding while working on this project!
By the way, as for now we also support no-JS tracking via 1x1 px GIF.
> GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
[0]: https://goaccess.io/
Asking mainly as I might be bringing some bits & bobs online in the coming months, and I'm considering a local install of Plausible for analytics.
Swetrix is fully open-source and you can selfhost it via Docker (Docker Compose is available too!). See the instructions at https://github.com/swetrix/swetrix-api
• You: 20 sites = $59.
• Plausible: 50 sites = $49 (2 months free if yearly).
• Fathom: 50 sites = $44 (2 months free if yearly).
As you can see, they keep eyes on each other. Hence my advice.
Startups are, in essence, lemonade stands wars. Must keep an eye on the tags and look cute.
Don't do 'roughly', research everything that matters. If you settle for 'roughly' — you'd miss, for example, that Plausible is giving back 5% of gross revenue to charitable causes, and Fathom is giving back 2%. Now — whose stand looks cuter?
I know the time is limited, but learning everything possible about the competition is a top priority — above the actual development.