Trench
Analytics platforms
Self-hosted event tracking on Kafka and ClickHouse for teams building their own analytics
1.7k 66 8 months ago Dormant MIT
Cookieless web analytics with error tracking and performance monitoring, self-hostable
Listed by Alston Antony, founder & editor
Health
ActiveStars
1,227
Last commit
9 days ago
Nov 2026
Repository age
5 years
since Mar 2021
Latest version
v5.5.4
Nov 2026
Contributors
–
2 active in 90 days
Releases
25
last 12 months
Language
TypeScript
Swetrix is a web analytics platform that uses no cookies and anonymizes its data, so it needs no consent banner. It shows top pages, geolocation on a map, devices, traffic sources and UTM campaigns in a real-time dashboard, with no data sampling.
It also covers areas that analytics tools usually leave to others: error tracking for client-side errors, real-user performance metrics such as TTFB, DNS, TLS and render time, funnels, custom events, sessions and user flows. Dashboards can be public or password-protected, teams get roles, and you can export to CSV or use the developer API. Session replays, network intelligence and Ask AI are cloud-only.
The project is written in TypeScript and licensed AGPL-3.0. It has been open source since 2021. You can self-host it with Docker, using ClickHouse, MySQL and Redis, or use the hosted cloud. It is a direct alternative to Google Analytics, and a comparable one to Plausible.
Cookieless, anonymized tracking removes the need for a banner.
Skip if: You need cross-device user tracking.
Error tracking and performance monitoring sit next to traffic stats in one tool.
Skip if: You need mobile app SDKs or cohort retention analysis.
The AGPL code runs on your own servers, so the data stays with you.
Skip if: You want session replays, which are cloud only.
Google Analytics relies on cookies and consent banners, and it samples data at scale. Swetrix gives you traffic, error and performance data without cookies, and you can host it yourself.
You can self-host it for free under AGPL-3.0. The hosted cloud has paid plans starting at $17 per month.
No. It uses no cookies and anonymizes all data.
Yes, with Docker. Some features, such as session replays, are available only in the cloud.
AGPL-3.0, so modified versions you offer as a network service must share their source.
Analytics platforms
Self-hosted event tracking on Kafka and ClickHouse for teams building their own analytics
1.7k 66 8 months ago Dormant MIT
Analytics platforms
Self-hosted dashboard that tracks and charts your Spotify listening history
4.6k 220 5 months ago Slowing GPL-3.0
Analytics platforms
Cookieless web analytics you can self-host with Docker or use as a hosted service
1.7k 115 12 months ago Dormant Apache-2.0
Analytics platforms
3.1k 200 today Active Apache-2.0
Analytics platforms
Privacy-focused analytics for mobile, desktop and web apps, self-hosted or hosted
1.9k 142 yesterday Active AGPL-3.0
Analytics platforms
2.2k 145 2 months ago Slowing MIT