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 | โ | โ | โ |
| User profiles / identified users | โ | โ | โ |
| Feature flags & A/B experiments | โ | โ | โ |
| Session replays | โ | โ | โ |
| Revenue / MRR analytics | โ Cloud | โ | |
| Ask AI / chat with your data | โ 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, session replays, funnels, performance and error tracking. Deploy the API and UI with Docker, connect ClickHouse / Redis, and configure a private S3-compatible bucket for replay recordings.
| 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 | โ Included; requires S3-compatible storage |
| 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: [email protected]
- 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.