Skip to main content
OpenSourceAlternatives

Swetrix

Custom licenseStatus: unknownNew

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.[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?

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.[1][2]

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]

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.[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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

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.