Swetrix
Swetrix provides real-time, GDPR-compliant web and product analytics without cookies or invasive tracking. Built-in performance monitoring, error tracking, and session replays help teams understand user behavior while protecting privacy.
Swetrix is an open-source alternative to:

Swetrix
Swetrix is a privacy-first, cookieless alternative to Google Analytics designed for teams that prioritize data ownership and compliance. It offers real-time web and product analytics, performance monitoring, and error tracking—all without cookies, sampling, or invasive tracking. Built for GDPR compliance out of the box, Swetrix helps you understand visitor behavior, traffic sources, and product performance while ensuring user privacy.
Key Features
Web Analytics
- Privacy-first tracking: Collect insights without cookies, personal data, or invasive tracking. Fully GDPR-compliant by default.
- Real-time dashboard: Monitor traffic, pageviews, referrers, countries, devices, and top pages in real time.
- Traffic insights: Analyze visitors, pageviews, and performance without sampling or data distortion.
- SEO & GEO insights: Integrate with Google Search Console to track clicks, impressions, queries, and pages. Combine with search engine and AI referral data.
- Custom events & goals: Track signups, purchases, button clicks, and set conversion goals to measure what matters.
- Campaigns & UTMs: Monitor campaign performance, UTM parameters, and ROI across traffic sources.
- Bot blocking: Filter out bot traffic, datacenter IPs, spam referrers, and probes with basic or strict settings.
- Alerts: Receive notifications for traffic spikes, errors, and custom events via email, Slack, Telegram, Discord, webhooks, or browser push.
Product Analytics
- Error tracking: Automatically detect JavaScript errors and identify affected pages, browsers, and devices.
- Session analysis: Follow individual user journeys across pages to understand navigation patterns.
- Session replays: Watch recorded sessions with timelines, clicks, and page changes to identify user friction points.
- Funnels: Track step-by-step conversion flows and pinpoint where users drop off.
- Experiments & feature flags: Run A/B tests to optimize user experience and roll out features gradually.
- Built-in reCAPTCHA alternative: Protect forms with a privacy-first, invisible proof-of-work challenge—no puzzles required.
Performance Monitoring
- Real user monitoring (RUM): Measure actual page load times from users to spot performance issues before they impact conversions.
Easy Integration
- Lightweight script: A single, few-kilobyte script that works across any CMS, framework, or custom stack.
- Pre-built integrations: Seamless setup for Angular, Astro, BigCommerce, Carrd, Django, Docusaurus, Drupal, Flask, Framer, Gatsby, Ghost, Google Search Console, GTM, Hugo, Jekyll, Laravel, Next.js, Nuxt, React, Remix, Ruby on Rails, Shopify, Squarespace, SvelteKit, Vue, Webflow, Wix, WooCommerce, WordPress, and more.
Tech / Self-Hosting
Swetrix is open-source and can be self-hosted for full data control. The GitHub repository provides the backend API, while the frontend and analytics engine are available under the same open-source license. Self-hosting is ideal for teams requiring complete data sovereignty or operating in highly regulated environments.