Overview
Swetrix is an open-source, privacy-first web analytics platform that tracks usage metrics without cookies or personal data. It offers a self-hostable alternative to traditional analytics tools.
What This Script Does
- Tracks page views, unique visitors, and session duration without setting cookies
- Captures referrer URLs, UTM parameters, and browser/device metadata
- Records custom events defined by the site operator
- Uses anonymized data collection methods that avoid storing personal identifiers
- Makes network requests to Swetrix servers (or self-hosted instances) to transmit aggregated analytics data
Consent & Compliance
- Category: Analytics
- GDPR: Designed for GDPR compliance by default. Does not use cookies or store personal identifiers. May qualify for the analytics exemption under some interpretations of the ePrivacy Directive.
- CCPA: Anonymized data collection minimizes personal information concerns.
- ePrivacy: No cookies are set. Some data protection authorities consider cookieless analytics exempt from consent requirements, though interpretations vary.
Should You Block This Without Consent?
No. Swetrix is designed as a privacy-first analytics tool that does not use cookies or collect personal data. In most jurisdictions, it can run without prior consent. However, site operators in strict jurisdictions (e.g., France under CNIL guidance) may still choose to gate it behind analytics consent.
Is Swetrix GDPR compliant?
Swetrix typically loads analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Swetrix can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Swetrix, not on Swetrix itself.
Consent Categories
Also Known As
Industries
Tracked Domains (1)
swetrix.orgAnalyticsswetrix.org is an analytics domain operated by Swetrix, used to measure visits, sessions, and on-site behavior.
Frequently Asked Questions
Related Vendors

Manage consent for Swetrix
ConsentStack automatically detects and manages Swetrix trackers so your site stays compliant with global privacy regulations.