Swetrix

Swetrix/swetrix

TypeScript AGPL-3.0 Web Dev

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

1.1k stars
61 forks
active
GitHub +33 / week

1.1k

Stars

61

Forks

16

Open issues

28

Contributors

v5.3.1 01 Jul 2026

AI Analysis

Swetrix is a privacy-first, open-source web analytics platform designed as a GDPR-compliant alternative to Google Analytics, featuring cookie-less tracking, error tracking, performance monitoring, and session replays. It serves organizations and developers who require privacy-respecting analytics without consent banners, making it best suited for privacy-conscious businesses, EU-based companies, and those seeking to avoid third-party tracking tools. It is not suitable for those prioritizing G...

Web Dev Application Discovery value: 5/10
Documentation 8/10
Activity 9/10
Community 7/10
Code quality 6/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

privacy-analytics self-hosted gdpr-compliant real-time-monitoring open-source
Actively maintained Well documented Niche/specialized use case Beginner friendly Production ready
Deep Analysis · Based on README and public signals
3w ago

Privacy-first web analytics with error tracking and session replays — a more feature-complete Plausible alternative

Swetrix is a cookieless, GDPR-compliant web analytics platform that bundles traffic analytics, error tracking, performance monitoring, and session replays into a single product. It targets privacy-conscious developers and small-to-medium businesses who want a Google Analytics replacement without the regulatory overhead. Available as a managed cloud service or self-hosted via Docker. Its main differentiator over peers like Plausible is scope: error tracking and session replays are included rather than requiring separate tooling. Adoption appears modest but the project is actively maintained and bootstrapped.

Origin

Founded in 2021 by a bootstrapped UK-based team, Swetrix entered a crowded privacy-analytics space already occupied by Plausible and Matomo, gradually expanding from basic pageview analytics to a broader observability suite.

Growth

Growth has been slow and organic — 1,008 stars over five years suggests the project has not experienced a viral moment. The 3 stars gained in the past 7 days reflects steady but unremarkable traction. Feature expansion (session replays, error tracking, A/B experiments) rather than marketing appears to drive incremental interest. Being bootstrapped constrains go-to-market reach.

In production

Swetrix offers a public live demo and a cloud subscription product, implying real paying customers exist. The bootstrapped, subscriber-funded model would not be sustainable without actual usage. However, independent third-party evidence of large-scale production deployments is not publicly documented. Adoption not verified at scale.

Code analysis
Architecture

Likely a TypeScript monorepo serving both the dashboard frontend and backend API, with a separate lightweight tracking script. Self-hosting is Docker-based, suggesting containerized microservices or a multi-container compose setup. Cloud version appears to run on Hetzner EU infrastructure. Session replays and network intelligence features appear cloud-only, suggesting architectural separation between cloud and self-hosted tiers.

Tests

Not documented in README.

Maintenance

Exceptionally active — last push was 2026-06-20, the same date as this analysis. Consistent recent pushes across a five-year lifespan indicate ongoing development. Discord community and documented API suggest active maintainer engagement. 58 forks relative to 1,008 stars is a moderate ratio, consistent with a tool used operationally rather than forked for learning.

Honest verdict

ADOPT IF: you want a single privacy-compliant tool covering web analytics, error tracking, and session replays without managing multiple services, and you accept a smaller ecosystem than Plausible. AVOID IF: you need enterprise-grade self-hosted session replays (currently cloud-only), require a large support ecosystem, or your team is already invested in Plausible plus dedicated error tracking. MONITOR IF: you are evaluating Plausible but want to track whether Swetrix closes the ecosystem gap — its feature velocity is real and worth watching over 12–18 months.

Independent dimensions

Mainstream potential

4/10

Technical importance

6/10

Adoption evidence

3/10

Risks
  • Bootstrapped single-team project carries key-person and funding continuity risk if subscriber growth plateaus.
  • Session replays, network intelligence, and several advanced features are cloud-only, limiting the self-hosted value proposition compared to the cloud tier.
  • AGPL-3.0 license may deter commercial integrators who cannot open-source their own code.
  • Competing against Plausible, which has a substantial head start in brand recognition and community size, may cap organic growth.
  • Limited public evidence of at-scale self-hosted deployments makes it harder to assess operational reliability under high traffic.
Prediction

Swetrix will likely retain a loyal niche of privacy-focused developers who value the all-in-one scope. Mainstream dominance over Plausible appears unlikely without significant marketing investment or a breakout viral moment.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

TypeScript
96.6%
JavaScript
1.9%
HTML
1.1%
CSS
0.3%
Dockerfile
0%

Information

Language
TypeScript
License
AGPL-3.0
Last updated
13h ago
Created
65mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

electerious

electerious/Ackee

Ackee is a self-hosted, privacy-focused analytics platform built on Node.js and...

4.7k JavaScript Web Dev
plausible

plausible/analytics

Plausible Analytics is a privacy-first, open-source web analytics platform...

27.6k Elixir Web Dev
rybbit-io

rybbit-io/rybbit

Rybbit is an open-source, privacy-friendly analytics platform designed as a...

12.5k TypeScript Data
DavidWells

DavidWells/analytics

A lightweight abstraction layer for analytics that decouples applications from...

2.7k JavaScript Web Dev
arp242

arp242/goatcounter

GoatCounter is a privacy-focused web analytics platform designed as a...

5.8k Go Web Dev
vs. alternatives
Plausible Analytics

Plausible is the dominant privacy-first analytics alternative with ~27K stars and significantly larger adoption. Swetrix differentiates by bundling error tracking and session replays — features Plausible does not offer. For teams wanting a single tool instead of Plausible + Sentry, Swetrix is worth considering, though Plausible's ecosystem maturity and community are larger.

HyperDX

HyperDX focuses on full-stack observability (logs, traces, errors) rather than web analytics. The two overlap on error tracking but serve different primary use cases. HyperDX has stronger engineering-team adoption; Swetrix is better suited for marketing and product analytics contexts.

Matomo

Matomo is the long-established self-hosted analytics platform with far deeper feature sets and enterprise adoption. It uses cookies by default (cookieless mode optional), requires more operational overhead, and has a complex UI. Swetrix is simpler to operate and privacy-first by design.