Skip to content
FossShelf
Home / Categories / For Data Teams

Swetrix

GDPR-compliant cookieless analytics with real-time dashboards

Replaces Google Analytics, Plausible Analytics, Fathom Analytics, Simple Analytics

1.22K starsAGPL-3.0reviewed 21 Apr 2025last commit 15 Nov 2026
Screenshot of Swetrix

Who it's for

Privacy-focused marketing teams

Swetrix fits teams that need traffic, event, and flow analytics while avoiding cookie-heavy tracking patterns.

Your reporting depends on Google Ads audiences, conversion imports, and proprietary ad attribution.

Founders monitoring site health

The combination of analytics, speed monitoring, and error tracking gives small teams one place to understand website usage and quality.

You already have a full observability stack and only need raw server logs.

The problem

Website analytics often create a privacy and compliance tradeoff. Teams want to understand traffic, user flows, performance, and errors, but cookie-heavy analytics can add consent friction and send visitor behavior into a large adtech platform. For privacy-conscious teams, the goal is not less insight. It is collecting the operational metrics needed to improve a site while minimizing invasive tracking and keeping analytics data under clearer control.

How it works

Cookieless web analytics

Swetrix is open source, privacy-focused, and cookieless, positioning it as an alternative to Google Analytics.

Traffic and behavior dashboards

Swetrix tracks site traffic, page flows, user flows, and custom events, giving teams product and marketing insight without a full adtech suite.

Performance and error tracking

Swetrix includes website speed monitoring and error tracking, which expands it beyond simple pageview counting.

Features

  • Cookieless web analytics
  • Traffic and behavior dashboards
  • Performance and error tracking

Recommended for this setup

Strengths

  • Privacy-first analytics positioning: Swetrix is built around cookieless analytics, which helps teams reduce consent and tracking concerns compared with Google Analytics-style setups.
  • Cloud or self-hosted operation: The project offers a hosted service and a self-hosted path, so teams can choose convenience or stronger data control.

Trade-offs

  • Not an ad platform analytics suite: Swetrix focuses on privacy-friendly site analytics, performance, and errors. Teams deeply tied to Google Ads attribution and ad audience tooling may still need separate reporting.

Tech stack

Languages
TypeScript, JavaScript, HTML, CSS, Dockerfile
Frameworks
Express, NestJS, Next.js, React, Tailwind CSS
Databases
Redis, ClickHouse, MySQL
Tooling
Docker, Rollup

FAQ

Is Swetrix an alternative to Google Analytics?

Yes. Swetrix is an open source, privacy-focused, cookieless alternative to Google Analytics.

Can Swetrix be self-hosted?

Yes. Swetrix offers a hosted cloud service and a self-hosted deployment path.

Does Swetrix only count pageviews?

No. Swetrix also includes custom events, user flows, website speed monitoring, and error tracking.

Similar tools

More in Data Teams