About Swetrix
Swetrix is an open-source web analytics platform presented as a privacy-respecting alternative to Google Analytics. It is cookieless and designed to comply with GDPR without consent banners, with anonymized data and no cross-device tracking, and it has been developed in the open since 2021.
Beyond traffic statistics such as top pages, locations, devices, traffic sources and UTM campaigns, it offers custom events and properties, sessions and user flows, funnels, real-user performance metrics, client-side error tracking and session replays. The README says some features, such as network intelligence and session replays, are available on the cloud service. A lightweight tracking script feeds a real-time dashboard.
Swetrix is built with TypeScript, NestJS, Redis, MySQL and ClickHouse and is licensed under AGPL-3.0. You can try it on Swetrix Cloud, which is free to start, or self-host it with Docker. A live demo and documentation are available. It suits website owners and product teams who want analytics, error tracking and performance data in one privacy-focused tool.
Key features
- Cookieless, GDPR-friendly analytics
- Real-time dashboard with traffic stats
- Custom events and funnels
- Error tracking for client-side issues
- Performance monitoring metrics
- Session replays on the cloud service
Good fit for
- →Replacing Google Analytics without a cookie banner
- →Tracking conversions with custom events
- →Spotting front-end errors and slow pages
- Tags
- web-analytics
- privacy
- cookieless
- gdpr
- google-analytics-alternative
- error-tracking
- clickhouse
- self-hosted
- session-replay
Swetrix: questions and answers
- What is Swetrix used for?
- Swetrix is a cookieless, privacy-first web analytics platform with error tracking, performance monitoring and session replays, available self-hosted or as a cloud service. It is a good fit for replacing Google Analytics without a cookie banner, tracking conversions with custom events, and spotting front-end errors and slow pages.
- Is Swetrix open source?
- Yes. Swetrix is open source under the AGPL-3.0 licence. Its source code is on GitHub at Swetrix/swetrix and is written mainly in TypeScript.
- Is Swetrix free?
- Yes. Swetrix is open source, so the software itself is free to use. A managed cloud version is also available, with paid plans from $19 per month.
- Can I self-host Swetrix?
- Yes. Swetrix can be self-hosted on your own server or infrastructure.
- What is Swetrix an alternative to?
- Swetrix is an open-source alternative to Google Analytics, Simple Analytics, Fathom Analytics and FullStory. Other open-source alternatives to Google Analytics include Plausible, Rybbit and Umami.
- Is Swetrix actively maintained?
- Yes. The most recent commit to Swetrix was on 30 September 2026. The project has 1.2k stars on GitHub.
Open-source alternatives to Swetrix
See all
Plausible
Analytics
Plausible is a lightweight and open-source Google Analytics alternative. Your website data
AGPL-3.0vs Google Analytics★ 29k
Rybbit
Analytics
Open source, cookieless web & product analytics with an 11 KB script and one readable
AGPL-3.0vs Google Analytics★ 13k
Umami
Analytics
Umami is a privacy-first analytics platform. Traffic, campaigns, behavior, conversions, an
MITvs Google Analytics★ 39k
Matomo
Analytics
Popular analytics tools can miss up to 40% of traffic. Matomo delivers accurate, GDPR-comp
GPL-3.0vs Google Analytics★ 22k
GoatCounter
Analytics
Easy web analytics. No tracking of personal data.
OSSvs Google Analytics★ 6k
OpenPanel
Analytics
OpenPanel is an open-source web and product analytics platform, an open-source alternative
AGPL-3.0vs Mixpanel★ 7.1k
SaaS alternatives to Swetrix
See all
Google Analytics
Analytics
Google Analytics is Google's web and app analytics service, helping businesses understand visitors and use the insights to improve sites and build audiences.
SaaS
Simple Analytics
Analytics
Cookieless, privacy-first website analytics hosted in the EU
SaaS
Fathom Analytics
Analytics
Privacy-focused website analytics with cookie-free tracking
SaaS
FullStory
Session Replay
Digital experience analytics with session replay, heatmaps and funnels
SaaS
StatCounter
Analytics
Long-running web traffic counter with visitor logs and basic stats
SaaS
Contentsquare
Analytics
Digital experience analytics with journey analysis, heatmaps and session replay
SaaS

