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.
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.
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.
Real-time traffic dashboard The dashboard reports visitors, pageviews, referrers, countries, devices, and top pages in real time without sampling.
Events, goals, and campaigns Custom events and conversion goals measure signups, purchases, and button clicks, while UTM and campaign tracking attributes traffic and revenue.
Bot and spam filtering Configurable basic or strict filters block bot traffic, datacenter IPs, spam referrers, and probes.
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.
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.
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.
Real-user performance monitoring Page load times measured from actual visitors surface slowdowns; performance monitoring is included from Standard.
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.
Self-hosting teams Teams with a server and Docker experience get a documented Compose path with full data ownership.
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.
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.
Regulated data residency No hosting regions or data residency locations were found on the pages read, so regulated buyers should confirm before committing.
Unverified repository signals Platform-side repository identity and metric snapshots remain pending enrichment, so stars and activity are observations, not verified facts.
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.
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.
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.
Questions worth asking
How much does Swetrix cost per month?
The managed cloud starts with a 14-day free trial, then Standard from $19/month and Plus from $39/month scaled by monthly events, with custom Enterprise pricing. Self-hosting the open-source core on your own server has no license fee beyond your infrastructure.
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.
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.
Does Swetrix have an API and SSO?
Yes to both with qualifications: Statistics (v1/v2), Events, and Admin API references are published, with higher rate limits on Plus; SAML-based SSO is Enterprise-only.
Compared with these products
No explicit proprietary baseline is recorded.