📈 Swetrix is a cookie-less, open source, privacy-first web analytics, website speed monitoring and error tracking service that you can host yourself or use in the cloud. Get started for free!
npx skills add https://github.com/Swetrix/swetrix --skill frontend-designInstallez cette compétence avec la CLI et commencez à utiliser le flux de travail SKILL.md dans votre espace de travail.
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.
The easiest way to get started with Swetrix is by using our cloud 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.
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.
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. | ⚠️ You are responsible for managing servers, installs, upgrades, scaling and backups. |
| Core analytics (traffic, events, sessions, funnels, performance, errors) | ✅ Included | ✅ Included |
| Advanced features (Revenue, Experiments, AI) | ✅ Included | ⚠️ Not 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. | ⚠️ Only direct project invites, password protected links and public projects are supported. |
| Alerts & notifications | ✅ Yes (Email, Slack, Telegram, Discord, webhook, web push) | ⚠️ Not included |
| Email reports | ✅ Yes (weekly/monthly/quarterly) | ⚠️ Not included |
| Geo & network analytics | ✅ Swetrix Cloud uses a premium GeoIP database to provide consistent and accurate country / region / city geolocation, plus ISP, organisation, usage type and connection type. | ⚠️ Less accurate, DB-IP City Lite Database (country / region / city only); you need a paid MaxMind or DB-IP database for ISP and network-intelligence breakdowns. |
| 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 | ⚠️ Official support is not included. Community‑driven support on Discord or other forums only. |
| Costs | ✅ We're an independent and bootstrapped business, your money directly supports Swetrix development. | ⚠️ You pay for the server costs and maintenance, backups, domains and other selfhosting costs, with money going to 3rd party services with no connection to us. |
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.
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:
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.