Open source, cookieless web analytics.
Learn more »
Website
·
Docs
·
Issues
·
Discord
·
Twitter
·
Author
Swetrix is an open source, privacy-focused and cookie-less alternative to Google Analytics. Swetrix is designed to be easy to use while providing all the features you need to understand your website users. With Swetrix you can track your site's traffic, monitor your site's speed, analyse user sessions and page flows, see user flows and much more!
Swetrix is made in the 🇬🇧 United Kingdom, and is hosted on Hetzner in 🇩🇪 Germany. Here's our live demo with our own website statistics.
We are a bootstrapped company that is passionate about privacy and open source, funded solely by our subscribers.
We've been building Swetrix since 2021 with a goal to make web analytics simple and respectful of your users' privacy.
- Privacy‑first and cookieless: GDPR‑compliant by design. We don't use cookies, cross-device tracking, all the data is stored anonymised. Read more in our Data Policy page.
- Lightweight and fast: a small tracking script and a snappy, real‑time dashboard.
- Core insights that matter: top pages, geolocation, map visualisation, devices, traffic sources and UTM campaigns.
- Custom events and properties: track conversions, sales, or key user actions with your own semantics.
- Session analytics and user flows: understand journeys and behaviour across your site.
- Funnels: visualise drop‑offs and improve conversion rates.
- Performance monitoring: real‑user metrics (e.g. TTFB, DNS, TLS, render) to keep sites fast.
- Error tracking: capture client‑side errors with details and aggregated views.
- Shareable analytics: public or password‑protected dashboards; invite teammates with roles, or manage access with organisations.
- Data portability: export to CSV and access data via our developer API.
- Extensible (Cloud): extensions marketplace to enhance dashboards and workflows.
- Alerts & notifications (Cloud): get notified on thresholds via Slack, Telegram or Discord.
- Open source and self‑hostable, with a fully managed EU‑hosted Cloud option.
The easiest way to get started with Swetrix is by using our cl 8000 oud service. We do all the work for you: hosting, maintenance, backups, worldwide CDN, etc. Using Cloud you still own the data, you can export it or delete it at any time you want. It's GDPR‑compliant, hosted in the EU (Germany), with a free trial available.
We're an independent and bootstrapped company, your subscription to Swetrix Cloud directly supports maintenance and development of the project, which eventually makes it better.
- Start using Cloud: https://swetrix.com (starts at $19/mo with a free trial available)
- Explore docs: https://docs.swetrix.com
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. Use Docker to deploy the API and UI, connect MySQL/ClickHouse/Redis, and you're ready to go.
- Self‑hosting guide: https://docs.swetrix.com/selfhosting/how-to
Cloud vs Community Edition
Swetrix Cloud | Swetrix Community Edition | |
---|---|---|
Infrastructure management | ✅ It's easy to get started with Swetrix Cloud - you can set up tracking in a matter of minutes. We manage server maintenance, upgrades, security for you. | |
Core analytics (traffic, events, sessions, funnels, performance, errors) | ✅ Included | ✅ Included |
Teams & sharing | ✅ Organisations to manage multiple projects and users with permissions setup; invite people to your projects directly, or share a public or password protected link with people. | |
Alerts & notifications | ✅ Yes (Slack/Telegram/Discord) | |
Email reports | ✅ Yes (weekly/monthly/quarterly) | |
Geo analytics | ✅ Swetrix Cloud uses premium GeoIP database to provide consistent and accurate country and city level geolocation data. | |
Release schedule | ✅ Continuously developed with updates deployed as soon as they are ready | ℹ️ Periodic open‑source releases, latest features are not available immediately. |
Support | ✅ Premium support from the people who build and maintain Swetrix | |
Costs | ✅ We're an independent and bootstrapped business, your money directly supports Swetrix development. |
Backend / API is built as a standard Nest.js application. We use MySQL with TypeORM for general data (accounts, projects, etc.), and Clickhouse for analytics data. Redis is used for caching.
Frontend is built using React Router framework. We use Tailwind CSS for styling and billboard.js for charts.
The browser tracking script is built with TypeScript and rollup for bundling.
See our contributing guide to get started. We welcome any contribution to the project!
Feel free to go through our open issues and pick any task you want to work on.
We welcome translation contributions.
- We manage translations on our Crowdin page.
- If you'd like to help regularly or add a new language, open an issue and we'll guide you through our translation workflow.
Star us on GitHub — your support motivates us a lot! 😊
To talk to our sales team for any commercial inquiries, ask us a question or just say hi 👋, you can contact us via:
- Email: contact@swetrix.com
- Book a call: we're happy to do a demo or sales call with you, you can book it at https://cal.com/swetrix
- Discord: join our Discord community
- Twitter: follow us on Twitter
- Author: you can follow me (Andrii) on X too
☺️ . I post about Swetrix and solopreneurship journey on @andrii_rom
Swetrix Community Edition is open source under the GNU Affero General Public License Version 3 (AGPLv3). The license can be found in the LICENSE file.
Source code contributions are subject to the Contributor License Agreement.
© 2021 - present, Swetrix Ltd.