Swetrix is an open-source, privacy-first web analytics platform that replaces Google Analytics with cookieless tracking, a real-time dashboard, and no consent banner. The same product covers product analytics with error tracking, session replays, funnels, and experiments, and it deploys two ways: Docker self-hosting on your own server or a paid managed cloud with a 14-day trial.[1][2][3]
Quick verdict
Swetrix fits teams that want GDPR-compliant traffic measurement plus lightweight product tooling (errors, replays, funnels, flags) without running a separate stack. Self-hosting is a documented Docker Compose path, while the cloud runs Standard from $19/month and Plus from $39/month with SAML SSO and on-premise reserved for Enterprise. Repository identity and metric snapshots are still pending platform enrichment, and data residency regions are undocumented.[1][2][3]
Key features
No-cookie visitor tracking Swetrix tracks visitors without cookies or personal data and presents itself as GDPR, CCPA, and PECR compliant out of the box, so sites drop the cookie banner.[1][2]
Real-time traffic dashboard The dashboard reports visitors, pageviews, referrers, countries, devices, and top pages in real time without sampling.[1]
Events, goals, and campaigns Custom events and conversion goals measure signups, purchases, and button clicks, while UTM and campaign tracking attributes traffic and revenue.[1][2]
Bot and spam filtering Configurable basic or strict filters block bot traffic, datacenter IPs, spam referrers, and probes.[1]
Automatic error tracking JavaScript errors are caught automatically with the affected pages, browsers, and devices shown; error tracking is included from the Standard cloud plan.[1][2][3]
Sessions, replays, and funnels Session analysis follows user journeys, session replays show timelines and clicks (Plus plan on cloud), and funnels show step-by-step conversion drop-off.[1][2]
Experiments and feature flags Built-in A/B testing and gradual feature-flag rollouts are documented on the homepage and gated to the Plus cloud tier.[1][2]
Real-user performance monitoring Page load times measured from actual visitors surface slowdowns; performance monitoring is included from Standard.[1][2]
Who will love it
Privacy-first site owners Swetrix fits privacy-conscious sites that want GDPR-compliant traffic measurement plus lightweight product tooling in one vendor.[1][2]
Self-hosting teams Teams with a server and Docker experience get a documented Compose path with full data ownership.[1]
API and migration users Teams building custom dashboards or leaving Google Analytics benefit from published Statistics, Events, and Admin APIs plus GA import and Search Console connections.[1]
Who should avoid it
SSO on small tiers SAML single sign-on is documented only on the Enterprise plan, so smaller teams should plan for per-member logins.[1]
Regulated data residency No hosting regions or data residency locations were found on the pages read, so regulated buyers should confirm before committing.[1][2]
Unverified repository signals Platform-side repository identity and metric snapshots remain pending enrichment, so stars and activity are observations, not verified facts.[1]
Alternatives and compatibility
Cloud pricing shape The cloud offers a 14-day free trial, then Standard from $19/month and Plus from $39/month scaled by monthly events, with custom Enterprise terms; self-hosting the core has no license fee beyond infrastructure.[1][2]
Self-host or cloud The same product deploys via Docker Compose on your own server or as a managed cloud with hosting, maintenance, backups, and CDN handled.[1]
Plausible as alternative Plausible is the catalogue alternative for the same cookieless GA-replacement workflow; Swetrix bundles extra product tooling (error tracking, replays, flags) that Plausible-style tools may not.[1][2]
Questions worth asking
How much does Swetrix cost per month?
Can I self-host Swetrix?
Yes. The official guide deploys Swetrix with Docker and Docker Compose from the swetrix/selfhosting repository on a server with Docker/Compose, x86_64 or arm64, and about 2GB of RAM. The managed cloud remains the alternative if you prefer hosted maintenance and CDN.[1]
Is Swetrix a good Google Analytics alternative?
For teams leaving Google Analytics over cookies and consent burden, Swetrix covers the substitutable workflow: a lightweight script, traffic and campaign stats, events and funnels, plus error tracking and replays Plausible-style tools may not bundle. The tradeoff is a smaller ecosystem and pending platform-verified repository signals.[1][2]
Sources and editorial review
Source research. Reviewed on October 13, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.
We have not run or tested this product.
- Swetrix homepage (official)
official · Observed October 13, 2026
Homepage hero and feature sections: privacy-first GA alternative, cookieless GDPR-compliant tracking, real-time dashboard, open-source, self-host or cloud, lightweight script; web analytics and product analytics feature lists.
- Swetrix/swetrix repository (official)
official · Observed October 13, 2026
Canonical repo: AGPL-3.0 license, about 1.2k stars, 78 forks, 8037 commits; topics nestjs, clickhouse, mysql, redis, docker, tailwindcss, gdpr, self-hosted, web-analytics.
- Swetrix pricing (official)
official · Observed October 13, 2026
Cloud plans: 14-day free trial, Standard from $19/month, Plus from $39/month, Enterprise custom; feature split across plans including SAML SSO, on-premise, SLA on Enterprise.
- Swetrix docs welcome (official)
official · Observed October 13, 2026
Docs: open-source, no cookies, GDPR/CCPA/PECR compliant, self-funded independent; single tracking script; traffic, goals, funnels, error tracking, revenue, Statistics/Events/Admin APIs, integrations, self-hosting.
- How to self-host Swetrix (official docs)
official · Observed October 13, 2026
Self-hosting via Docker and Docker Compose from swetrix/selfhosting; server prerequisites (Docker/Compose, x86_64 or arm64, 2GB RAM recommended); cloud as managed alternative.
Compared with these products
No explicit proprietary baseline is recorded.