Skip to main content
OpenAlternative

Swetrix

Custom license

Cookieless, privacy-first web analytics with error tracking

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.

Similar projects

Related projects with shared categories, technologies, or licensing.

Prisme Analytics

Prisme Analytics

Cookieless, GDPR-compliant web analytics you can self-host

Stars134
Commit7mo ago
LicenseAGPL-3.0-only

Prisme Analytics is a self-hosted, privacy-focused web analytics platform written in Go, offering real-time insights with unlimited data retention and no cookie banners.

Matomo

MatomoOpen

Open-source web analytics with 100% data ownership

Stars21.9K
Commitjust now
LicenseGPL-3.0

Matomo is an open-source web analytics platform, formerly Piwik, that teams self-host to keep 100% ownership of their measurement data, with unsampled tracking in the free GPL core.

Litlyx

LitlyxOpen

Privacy-friendly web analytics with an AI-powered dashboard

Stars1,744
Commit9mo ago
LicenseApache-2.0

Litlyx is a self-hosted, GDPR-compliant web analytics platform with real-time dashboards and AI insights, positioned as a simple alternative to Google Analytics.

Databuddy

DatabuddyOpen

Cookieless product analytics with funnels, errors and uptime

Stars1,169
Commitjust now
LicenseAGPL-3.0

Databuddy is an open-source product analytics platform for startups that tracks visitors, custom events, funnels, and goals with one cookieless script.

Betterlytics

BetterlyticsOpen

Privacy-first web analytics with funnels, journeys, and no cookies

Stars177
Commitjust now
LicenseAGPL-3.0

Betterlytics is a privacy-first web analytics platform with funnels, user journeys, session replay, and error tracking in one dashboard. Sites add one lightweight script, and EU-based data handling means no cookie banner is needed for the analytics itself.

HitKeep

HitKeepOpen

Privacy-first web analytics for humans and AI agents, self-hosted or in EU/US cloud

Stars93
Commitjust now
LicenseMIT

HitKeep is a privacy-first web analytics platform that tracks humans and AI agents without cookies, fingerprinting, or cross-site identifiers. Sites add one lightweight script under their own domain, and an MCP server plus analytics API expose the same stats to agents and external tools.