Swetrix

Active

Swetrix is an open-source web analytics tool under AGPL-3.0 from an Edinburgh-based company, available as a hosted service with data at Hetzner in Germany or for self-hosting. According to its documentation, the script sets no cookies, writes nothing to local storage and reads no client-side identifier; hosted plans are sized by events.

  • Web analytics
  • Cloud or self-hosted
  • Based in United Kingdom
  • Founded 2021
  • Checked 17 Sep 2026

Tracking script

6.05 KB compressed

21.2 KB uncompressed · measured 17 Sep 2026

0.5 KB1 KB5 KB10 KB50 KB100 KBAckee: 8.08 KBAdobe Analytics: 52.0 KBAmplitude: 64.0 KBAptabase: 1.27 KBCabin: 1.17 KBCounter.dev: 0.43 KBCountly: 36.4 KBCrazy Egg: 2.65 KBDataFast: 5.13 KBDatabuddy: 11.0 KBFathom Analytics: 2.04 KBFullstory: 93.7 KBGoatCounter: 3.24 KBGoogle Analytics 4: 145.9 KBHeap: 6.01 KB (loader file)Humblytics: 16.2 KBKoko Analytics: 0.81 KBLite Analytics: 1.09 KBLitlyx: 1.17 KBMatomo: 21.6 KBMicroanalytics: 1.15 KBMicrosoft Clarity: 0.51 KB (loader file)Mixpanel: 32.7 KBOpenPanel: 3.20 KBOvertracking: 4.80 KBPendo: 233.1 KBPirsch: 3.42 KBPiwik PRO: 22.9 KBPlausible: 2.43 KBPostHog: 95.3 KBPretty Insights: 6.83 KBRybbit: 10.6 KBSeline: 1.89 KBSentinelPro: 5.19 KBSimple Analytics: 3.74 KBStatable: 2.18 KBTelemetryDeck: 0.47 KBTinyAnalytics: 6.99 KBUmami: 2.26 KBVemetric: 2.71 KBVisitors: 6.99 KBSwetrix: 6.05 KB6.05 KB
Heavier than 22 of the 39 other measured scripts. Each line is one tool; hover to see which.

Price

From$19/mo
At 100k events$19/mo

Billed by events · checked 17 Sep 2026

$0$360$719100k1M10MUp to 100,000 events: $19/mo (Standard)Up to 200,000 events: $29/mo (Standard)Up to 500,000 events: $49/mo (Standard)Up to 1,000,000 events: $79/mo (Standard)Up to 2,000,000 events: $119/mo (Standard)Up to 5,000,000 events: $179/mo (Standard)Up to 10,000,000 events: $249/mo (Standard)Up to 15,000,000 events: $349/mo (Standard)Up to 20,000,000 events: $419/mo (Standard)Up to 30,000,000 events: $519/mo (Standard)Up to 40,000,000 events: $619/mo (Standard)Up to 50,000,000 events: $719/mo (Standard)$19/mo at 100k
Cheapest monthly price for each published traffic level, in events. Hover a point for the plan.

Privacy and data

Cookies
None
no cookies or stored ID by default
Data location
EU
Cloud or self-hosted
Self-hosting
Available
Source code
Open source

Plans

Free plan
No
no free hosted plan
Billing unit
Events
Sites on entry plan
Depends on plan
Data retention
Not confirmed

Strengths

  • Sets no cookies and writes nothing to local storage, according to the documentation. Visitors are counted with a salted hash of the IP address, User-Agent and project ID.
  • Imports history from Google Analytics 4 through your Google account, and from export files of Umami, Simple Analytics, Fathom Analytics and Plausible Analytics.
  • Email reports go out weekly, monthly or quarterly, and dashboards can be public, password-protected or embedded in another site with an iframe.
  • Swetrix Cloud can serve the script and events from a subdomain you control through a managed reverse proxy, set up with a CNAME record, for up to five domains per project.
  • Bot filtering has three levels in the Shields settings, where you can also limit tracking to allowed origins and ignore chosen IP addresses or countries.

Watch-outs

  • There is no free cloud plan. The 14-day trial requires a payment method and turns into the plan you picked unless you cancel before it ends.
  • Pageviews, custom events, error events and CAPTCHA events all count toward the monthly limit, and the limit is shared by every project on the account.
  • The dashboard can be locked after seven days’ notice if you exceed your plan two months in a row or by more than 30%, and a locked project accepts no new events.
  • Session replays, feature flags and A/B testing require Plus, and Standard allows 300 API requests per hour against 6,000 on Plus.
  • Swetrix has no WordPress plugin of its own. The WordPress guide adds the script with a code injection plugin such as Insert Headers and Footers.

Who it suits

Swetrix is a web analytics service from Swetrix Ltd in Edinburgh, and its cloud keeps analytics data on Hetzner servers in Germany. Next to traffic reports, every plan includes funnels, goals, error tracking, performance monitoring and an SEO tab that draws on Google Search Console.

Plans are sized by monthly events across the whole account. Standard covers 10 websites and 10 team members. Plus raises that to 100 websites and 25 members and adds session replays, feature flags and A/B testing. Extra websites are sold in bundles of 50, a detail for anyone who looks after many small sites.

There is no free cloud plan. The code is open source under AGPL-3.0, and the free Community Edition runs on your own server; see open-source tools you can self-host.

Setup

Create a project, then paste the script tag and a short call that starts tracking with your Project ID inside the body of every page. The Project ID is shown in the dashboard. There is also an npm package, and the documentation has guides for more than 50 platforms, including Next.js, Shopify and Webflow.

The free Community Edition runs with Docker Compose on an x86_64 or arm64 server, and the vendor recommends at least 2 GB of RAM. It starts the frontend, the API, an nginx proxy, Redis and ClickHouse. Updates often include database migrations you apply by hand, and email reports are available only in the cloud.

  • Single snippet
  • First-party proxy
  • Public API
  • Data export (partly)
  • Search Console
  • Email reports (partly)
  • Slack or webhooks (partly)
  • Public dashboard

Moving from another tool

Swetrix imports historical data under Settings > Import data. Google Analytics 4 is connected through your Google account with read-only access, and pageviews and custom events arrive with hourly precision, without language, browser and OS versions or session duration. Umami and Plausible Analytics exports are uploaded as ZIP files, Simple Analytics and Fathom Analytics exports as CSV files. Plausible exports only daily totals, so Swetrix rebuilds approximate event rows from them. Uploads are limited to 100 MB, one import runs at a time per project, and an import can be deleted later without touching tracked data.

Features

As documented on the vendor’s own pages. “Partly” means the feature has limits or is only on some plans.

Tracking & Reporting

  • Pageviews & visitors: yes
  • Live visitor count: yes
  • Top pages report: yes
  • Top referrers: yes
  • UTM campaign tracking: yes
  • Country & city breakdown: yes
  • Device, browser, OS: yes
  • Bounce / engagement: yes
  • Time on site: yes
  • Custom events: yes
  • Goals / conversions: yes
  • Funnels: yes
  • Outbound link tracking: yes
  • File download tracking: yes
  • 404 / error tracking: yes

Pricing & Plans

  • Unlimited sites on entry planPartly

Privacy & Compliance

  • Cookieless by default: yes
  • No personal data collected (vendor’s position)Partly
  • No consent banner needed (vendor’s position): yes
  • Data hosted in EU: yes
  • Data hosted in US: no
  • Self-hostable: yes
  • Open source: yes
  • Data retentionNot confirmed
  • Bot & spam filtering: yes

Setup & Integrations

  • Single-snippet install: yes
  • WordPress plugin: no
  • Proxy / first-party domain: yes
  • Public API: yes
  • Data export (CSV/JSON)Partly
  • Google Search Console connector: yes
  • Email digestsPartly
  • Slack / webhook alertsPartly
  • Public shareable dashboard: yes

Platforms & frameworks

What the vendor documents. A platform that is not listed has no guide, plugin or package from the vendor.

  • Shopify: yes
  • WooCommerce: yes
  • Ghost: yes
  • Webflow: yes
  • Squarespace: yes
  • Wix: yes
  • Drupal: yes
  • React: yes
  • Next.js: yes
  • Vue / Nuxt: yes
  • Static sites (GitHub / GitLab Pages): yes
  • Google Tag Manager: yes
  • Server-side tracking: yes

Questions and answers

Does Swetrix use cookies?

No. According to the documentation, the script sets no cookies, writes nothing to local storage and reads no client-side identifier. Visitors are recognized with a salted hash whose salt changes daily for sessions and monthly for returning visitors. The vendor says a cookie banner is not needed; whether that holds for your site depends on the rules that apply to you.

Is there a free Swetrix plan?

No, not in the cloud. Swetrix offers a 14-day trial that requires a payment method, and you are not charged until it ends. The Community Edition is free if you run it on your own server.

What happens if I go over my event limit?

Collection continues. Swetrix does not move you to a larger plan automatically, and the billing documentation says an occasional spike brings no extra charge. The dashboard may be locked after seven days’ notice if you exceed your plan two months in a row or by more than 30%. A locked project accepts no new events until you upgrade, but existing data is kept.

Where does Swetrix store data?

In Germany. The data policy says all analytics data is stored on Hetzner servers in the EU, and the data processing agreement lists Hetzner for hosting and Sentry in the United States for error tracking and monitoring. Swetrix Ltd is registered in the United Kingdom.

Sources and checks

Status
Active, checked 17 Sep 2026
Prices
Checked 17 Sep 2026 on the vendor’s pricing page ↗
Tracking script
Measured 17 Sep 2026: downloaded and compressed the same way for every tool
Features
From the vendor’s pages, checked 18 Sep 2026
This page
Text updated 17 Sep 2026

How each value is collected: methodology. Why tools get no overall score: our reasoning.

Similar tools

Same category, ordered by how many traits they share with Swetrix: cookie handling, self-hosting and open code.

Compare Swetrix with another tool →