Hey guys, the Swetrix CE v4 is released, it's an open source and privacy-first Google Analytics alternative that I've been building since 2021.
I've spent this year working on this release and overall it's one of our biggest releases ever! It includes complete UI redesign, customisable OIDC/SSO support, accounts system & website sharing, host tracking and more!
Overall the key features of Swetrix are:
Traffic analysis with advanced stats like city level analytics, custom events, user flows
Site speed across different percentiles, pages and locations
Session analysis with page and error flows
Automatic error tracking which now also supports error metadata and stack traces (like Sentry, but with an easy UI)
Project sharing, team management, API access
Real time dashboards
The project can be easily selfhosted with Docker and I tried to design it to be intuitive and simple!
Well, imo captchas are still useful in pages like sign up or contact page.
It may work well without a captcha for years until someone desides to spam the contact form with 1000s of messages or register hundreds of fake accounts just to harm the business.
But I agree - overusing captchas is dumb and will only irritate a user
MySQL is used for data like user accounts and linked websites.
Clickhouse is used for the analytics data (which this DBMS is basically designed for).
Redis is used for caching (for example, I store there all the incoming analytics requests, and each minute the cron job takes them all and adds into the Clickhouse DB, as a big chunk), rate limiting, etc.
Compared to Plausible, we provide the same functionality + Swetrix browser extensions (soon the alerts will be added there), email reports, multiple languages and themes support and for sure a free tier.
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
Yes, you can selfhost it as a docker image (docter compose available too) or simply clone the Github repo.
The instructions for selfhosting are at https://github.com/swetrix/swetrix-api
For quite a long time I've been using mostly open-source utilities. And for some time I also wanted to create some kind of utility of my own and to contribute into the open source world.
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!
It comes with:
- AI chat
- Goals
- Experiments (A/B tests)
- New PoW CAPTCHA
- Feature flags
- Profiles (+ MAU/DAU tracking)
- Revenue analytics (with Stripe/Paddle integrations)
- UI upgrades
- and A LOT more!
At this point Swetrix is pretty much the best OSS Google Analytics alternative on the market!
It's already live for Swetrix Cloud users. The Community Edition release coming in January 2026!
Would love to hear your feedback!
Learn more: https://swetrix.com/blog/swetrix-v5
Github: https://github.com/Swetrix/swetrix