Privacy-first, open-source web analytics β with error tracking, session replays and performance monitoring built in.
See the live demo Β»
Website
Β·
Docs
Β·
Issues
Β·
Discord
Β·
Twitter
Swetrix is a cookieless, GDPR-compliant analytics platform β a privacy-respecting alternative to Google Analytics. No cookies, no consent banner, no cross-device tracking, all data anonymised. It's the only thing on the page and the dashboard is fast and real-time.
It goes beyond pageviews: alongside traffic stats you get error tracking, performance monitoring, session replays, funnels and custom events β so you can replace several tools with one.
Open source since 2021, bootstrapped, and funded entirely by our subscribers. Made in the π¬π§ UK, hosted on Hetzner in π©πͺ Germany.
π Try it free on Swetrix Cloud or self-host with Docker.
- Cookieless & privacy-first β GDPR-compliant by design, no cookies, anonymised data. (Data Policy)
- Lightweight script β a small tracking snippet and a snappy real-time dashboard.
- The metrics that matter β top pages, geolocation with map view, devices, traffic sources and UTM campaigns.
- Network intelligence (Cloud) β break traffic down by ISP, organisation, usage type (residential / business / hosting / cellular) and connection type to spot bot and datacenter traffic.
- Custom events & properties β track conversions, sales or any key action with your own semantics.
- Sessions & user flows β understand journeys and behaviour across your site.
- Funnels β visualise drop-offs and improve conversion rates.
- Performance monitoring β real-user metrics (TTFB, DNS, TLS, render) to keep pages fast.
- Error tracking β capture client-side errors with details and aggregated views.
- Session replays (Cloud) β replay sessions to see exactly where visitors get stuck.
- Sharing & teams β public or password-protected dashboards; invite teammates with roles, or manage access with organisations.
- Data portability β export to CSV and access everything via the developer API.
- More β alerts & notifications, feature flags, A/B experiments, revenue analytics and Ask AI (Cloud).
Swetrix and Plausible are both privacy-first and open source; the main difference is scope β Swetrix bundles error tracking, performance monitoring and session replays into the same product.
| Swetrix | Google Analytics 4 | Plausible | |
|---|---|---|---|
| Cookieless, no consent banner | β | β cookies + consent | β |
| GDPR-compliant, EU-hosted | β | β | |
| Open source (AGPLv3) | β | β | β |
| Self-hostable | β | β | β |
| No data sampling | β | β samples at scale | β |
| Real-time dashboard | β | β | |
| Funnels | β | β | β (paid plans) |
| Custom events | β | β | β |
| Performance monitoring | β | β | β |
| Error tracking | β | β | β |
| Session replays | β Cloud | β | β |
| Feature flags & A/B experiments | β Cloud | β | β |
| Revenue / MRR analytics | β Cloud | β | |
| Ask AI / chat with your data | β Cloud | β | β |
| User profiles / identified users | β Cloud | β | β |
We handle hosting, maintenance, backups and a worldwide CDN β you keep full ownership of your data and can export or delete it anytime. GDPR-compliant and hosted in the EU.
- Start free β β free trial, then from $19/mo
- Live demo β
- Docs β
Your subscription directly funds maintenance and development of the open-source project.
Prefer to run it yourself? Swetrix Community Edition (CE) ships the same core analytics: privacy-friendly traffic stats, custom events, sessions, funnels, performance and error tracking. Deploy the API and UI with Docker, connect MySQL / ClickHouse / Redis, and you're live.
| Swetrix Cloud | Swetrix Community Edition | |
|---|---|---|
| Infrastructure management | β Set up tracking in minutes. We manage server maintenance, upgrades and security for you. | |
| Core analytics (traffic, events, sessions, funnels, performance, errors) | β Included | β Included |
| Session replays | β Included | |
| Advanced features (Revenue, Experiments, AI) | β Included | |
| Teams & sharing | β Organisations, role-based access, direct invites, public and password-protected links. | |
| Alerts & notifications | β Email, Slack, Telegram, Discord, webhook, web push | |
| Email reports | β Weekly / monthly / quarterly | |
| Geo & network analytics | β Premium GeoIP for accurate country / region / city, plus ISP, organisation, usage type and connection type. | |
| Release schedule | β Continuous updates, deployed as soon as ready | βΉοΈ Periodic open-source releases; newest features arrive later. |
| Support | β Premium support from the team building Swetrix | |
| Costs | β Bootstrapped business β your money directly funds Swetrix development. |
- Backend / API β Nest.js, MySQL + TypeORM (accounts, projects), ClickHouse (analytics), Redis (caching).
- Frontend β React Router, Tailwind CSS, billboard.js for charts.
- Tracking script β
packages/tracker-js, theswetrixnpm client, TypeScript bundled with rollup.
We welcome contributions! See the contributing guide and browse open issues to pick something up.
If Swetrix is useful to you, star the repo β it genuinely helps a bootstrapped team and motivates us a lot π
- Email: contact@swetrix.com
- Book a call: swetrix.com/book-a-call
- Discord: join the community
- Twitter: @swetrix
- Author: I post about Swetrix and solopreneurship at @andrii_rom
Swetrix Community Edition is open source under the GNU Affero General Public License v3 (AGPLv3). See the LICENSE file. Source code contributions are subject to the Contributor License Agreement.
Β© 2021 - present, Swetrix Ltd.