Swetrix
Web analytics which track your site's traffic, monitor your site's speed, analyse user sessions and pageflows, see the user flows and more (alternative to Google Analytics).
Description from awesome-selfhosted (CC BY-SA 3.0)
Still maintained? Yes: 2 commits in the last 90 days.
Also an alternative to Google Analytics.
At a glance
Swetrix quick facts
- Health score
- 30/100 STALE
- Stars
- 76
- Last commit
- 2 months ago (Sep 2026)
- Latest release
- No tagged release
- Licence
- AGPL-3.0
Top alternatives to Swetrix
Full rankings: Google Analytics alternatives
In its own words
The project's README opens: "Swetrix is a fully open source, privacy focused and cookieless alternative to Google Analytics. Swetrix aims to be a lightweight tool (tracking script is < 5 KB), yet powerful enough to give you all the insights you need. With Swetrix you can track your site's traffic, monitor your site's speed, analyse user sessions and pageflows, see the user flows and much more! All of it without invading your user's privacy. Check out our live demo."
Why it ranks here
Health score explained
Swetrix scores 30/100, #33 of 33 in Analytics: 2 commits in the last 90 days earn 2.3 of 35 points, the absence of a tagged release forfeits all 25 release points, 76 stars add 7.5 of 20, an active, unarchived repository keeps 10 and Docker support adds the final 10. That places it in the stale band (below 40). The biggest shortfall is commit activity, worth 32.7 more points.
Recomputed nightly from the GitHub API. How the score is calculated.
- Commit activity biggest shortfall 2.3 / 35
2 commits in 90 days (30+ scores full marks)
- Release recency 0.0 / 25
No tagged release found
- Stars 7.5 / 20
76 stars on GitHub (logarithmic)
- Not archived 10.0 / 10
Repository is active
- Docker support 10.0 / 10
Docker image or Compose file available
Commit activity
- 2
- Last 90 days
- 32
- Last 12 months
- 2 months ago
- Last push
Ranked #33 of 33 tools in Analytics by health , just below Socioboard (#32) .
Details
| Licence | AGPL-3.0 |
| Platforms | Docker |
| Latest release | No tagged release |
| Stars | 76 |
| Open issues | 2 |
| Docker | Yes |
| Repository | Swetrix/selfhosting ↗ |
Swetrix vs its top 5 alternatives
Active tools that share a comparison page or a category with Swetrix (Analytics), scored on the same five terms.
| Tool | Health | Stars | Licence | Last commit |
|---|---|---|---|---|
| Umami | 98 | 40k | MIT | yesterday |
| Rybbit | 96 | 13k | AGPL-3.0 | 4 days ago |
| Countly Community Edition | 95 | 5.9k | AGPL-3.0 | today |
| HitKeep | 88 | 102 | MIT | 2 days ago |
| Matomo | 87 | 22k | GPL-3.0 | today |
| Swetrix (this tool) | 30 | 76 | AGPL-3.0 | 2 months ago |
Swetrix: common questions
What does Swetrix replace?
Repoly lists Swetrix as an open-source alternative to Google Analytics. Each comparison page ranks every alternative by the same health score, so you can see where Swetrix stands against the others.
Is Swetrix still maintained?
Swetrix had 2 commits in the last 90 days and its last push was 2 months ago. Repoly recomputes this nightly.
Run itSponsored
Run Swetrix on a VPS from $4/mo
Swetrix ships a Docker image, so any of these providers can run it on a small instance.
- is*hosting NVMe VPS in 20+ locations, hourly billing from $5/mo Deploy ↗
- ProHoster VPS with DDoS protection included from $4/mo Deploy ↗
- GODLIKE Game and app servers on NVMe from $4/mo Deploy ↗
Affiliate links. Repoly may earn a commission, which never affects health scores.