Swetrix
Privacy-first, cookieless web analytics with error tracking, session replays and performance monitoring built in, hosted or self-hosted.
What is Swetrix?
Swetrix is a GDPR-friendly analytics platform that counts traffic without cookies, consent banners or cross-device tracking. Alongside traffic sources, pages and events, it tracks JavaScript errors, records session replays and measures page performance, so one script covers both marketing questions and front-end health. It can be self-hosted with ClickHouse, MySQL and Redis, and 6 translations of the interface are available.
Good fit if
- You want analytics and error tracking from one privacy-friendly script.
- You want to see slow pages and errors next to traffic numbers.
Look elsewhere if
- You want simpler stats only: GoatCounter or Umami.
- You need full application monitoring with backend traces: Highlight or OpenReplay.
Before you adopt it
Swetrix is AGPL-3.0, with a paid cloud service. Its creator writes about 95% of the code, so the project depends on one person.
Drafted with AI from the project's README and repository data, then checked against that data on 30 October 2026. Report a correction
Swetrix health: is it still maintained?
72 of 100, actively developed
Read from GitHub on 1 November 2026. How the score works
Swetrix license: is it open source?
Swetrix uses AGPL-3.0, an open-source license approved by the OSI.
- March 2021First published on GitHub.
- TodayAGPL-3.0.
How to run Swetrix yourself
- Docker
- Dockerfile or compose file in the repository
- Compose file
- backend/docker-compose-dev.yml: 3 services (redis, clickhouse, mysql)
- Setup effort
- 3 of 5, judged from the compose file
- Kubernetes
- No Helm chart in the repository
- Desktop and mobile
- No app builds in GitHub releases
- Interface languages
- 6 languages
Install instructions: swetrix.com or the README on GitHub.
Alternatives to Swetrix
- PlausibleOpen source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted… 65 health · AGPL-3.0 · 29.7k stars
- TianjiTianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA… 64 health · Apache-2.0 · 3.1k stars
- MatomoEmpowering People Ethically — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading… 81 health · GPL-3.0 · 22k stars
- UmamiUmami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and… 79 health · MIT · 39.8k stars
- GoAccessGoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or… 60 health · MIT · 21.1k stars
Questions about Swetrix
Is Swetrix open source?
Yes. Swetrix is published under AGPL-3.0, an OSI-approved open-source license.
Is Swetrix still maintained?
Its health score is 72 of 100 (actively developed). It had 134 commits in the last 90 days, the latest on 31 October 2026, and its latest release came out on 31 October 2026.
How do I run Swetrix?
You can run it with Docker. The README on GitHub has the exact steps.
What are the alternatives to Swetrix?
Close alternatives in the Web analytics category include Plausible, Tianji, Matomo.