
Swetrix
Cookie-less open-source web analytics and performance monitoring
1.1k stars 63 forks last commit first released AGPL-3.0
Actively maintained
Last commit 28 Jul 2026.

Swetrix is an open-source, privacy-focused web analytics platform that collects anonymised, cookie-less metrics about website traffic, sessions, performance and client-side errors. It provides both a self-hostable Community Edition and a managed cloud offering with additional features.
Key Features
- Cookie-less, privacy-first tracking that collects anonymised pageviews, events and session data without cross-device identifiers
- Core analytics: top pages, traffic sources, UTM campaigns, geolocation and device/browser breakdowns
- Session analytics and user flows to visualise journeys and pageview sequences
- Funnels, goals and custom events for conversion tracking and behaviour analysis
- Real-user performance monitoring (TTFB, DNS, TLS, render and other frontend timing metrics)
- Client-side error tracking with aggregation by page, browser, device and geolocation
- Feature flags and rollout controls to target segments and measure feature impact
- Experiments / A/B testing (managed cloud) with exposure tracking and statistical comparisons
- Revenue analytics integrations (Stripe, Paddle) and CSV/API data export for portability
- Lightweight TypeScript tracking script and real-time React dashboard built for low overhead
- Deployable via Docker with a backend API, MySQL for core data, ClickHouse for analytics storage and Redis for caching
Use Cases
- Privacy-compliant website analytics for small businesses, blogs and SaaS sites that want to avoid cookie banners
- Monitoring frontend performance and client-side errors to detect regressions and improve page speed
- Running feature flags and A/B experiments (cloud) to optimize conversions and measure feature impact
Limitations and Considerations
- The Community Edition (self-hosted) provides core analytics, sessions, funnels, performance and error tracking but lacks some managed-cloud features (experiments, revenue analytics, AI insights, and built-in alert/email reports)
- GeoIP accuracy in self-hosted deployments depends on the chosen GeoIP database and may be less precise than the managed cloud's premium DB
- Scaling analytics requires appropriate ClickHouse and infrastructure configuration; self-hosters must manage upgrades, backups and operational costs
Swetrix bundles core web analytics, performance monitoring and error tracking in a privacy-first package suitable for self-hosting or using a managed cloud. It focuses on essential, low-footprint analytics while offering expanded features in its cloud offering.
Categories:
Tags:
Tech Stack:
Similar to Swetrix

Plausible Analytics
Privacy-friendly, cookie-free web analytics
Open-source, lightweight web analytics with a simple dashboard, privacy-first metrics, and goal/conversion tracking as an alternative to Google Analytics.

Rybbit
Cookieless, privacy-friendly web and product analytics
Open-source, cookieless web and product analytics alternative to Google Analytics with real-time dashboards, funnels, journeys, and session replays.

Litlyx
Privacy-first, cookie-free web analytics with AI dashboards
Litlyx is a GDPR-focused, cookie-free web and product analytics platform with custom event tracking, funnels, and an AI-powered dashboard. Self-hostable alternative to Google Analytics.

Sentry
Error tracking and application performance monitoring platform
Sentry is a developer-focused platform for error tracking, performance monitoring, and tracing to help teams detect, investigate, and fix issues faster.

GlitchTip
Open-source Sentry-compatible error tracking and observability
Open-source error tracking, performance monitoring and uptime checks compatible with Sentry SDKs; available self-hosted or as a hosted SaaS.

GoatCounter
Privacy-friendly web analytics with minimal tracking
Open source web analytics focused on privacy, lightweight tracking, and simple, meaningful reports as an alternative to Google Analytics or Matomo.






