Skip to content
Guide

Self-hosted or EU-hosted analytics?

Both options keep visitor data away from ad networks and inside Europe. The difference is who runs the server, applies updates and answers at 2 a.m. when the database is full. This guide compares costs, effort, data control and GDPR paperwork, and helps you decide which model suits your team.

PureMetrixLast reviewed 6 min read10 sources checked

Why this question comes up

Teams leaving Google Analytics often have two goals at once: keep data in Europe and stop sharing visitor data with an advertising company. Open-source tools answer both by letting you run analytics on your own server. Managed EU services answer both by processing data on European servers under a DPA. Which route is better depends less on the law than on your team: who has time, skills and appetite to run another production system.

The two models compared

Self-hosted (e.g. Matomo On-Premise, Umami, Plausible CE, Pug)EU-hosted service (e.g. PureMetrix)
Licence costOften free (open source)Monthly subscription
Server and timeYou pay for a server and spend time on updates, backups and scalingIncluded
Data controlFull: data never leaves your serverProcessor under a DPA, EU servers
GDPR paperworkNo analytics vendor as processor (your hosting provider may still be one); you are responsible for securityDPA with the provider
CustomisationFull access to code and databaseFeatures the service offers
Time to first dataHours to daysMinutes
ScalingYour jobProvider's job

What self-hosting really costs

The licence is free; the rest is not. A realistic picture for a small to medium site:

Cost itemSelf-hostedEU-hosted service
Server or containerA small VPS or managed container plus databaseIncluded
SetupInstall, TLS, database, tracking domain: a few hoursSign up and add the plugin or snippet
UpdatesApplication, runtime, database, OS: regularlyIncluded
BackupsConfigure, store off-site, test restoresIncluded
MonitoringUptime, disk space, database growthIncluded
IncidentsYour on-callProvider's support

If an hour of your team's time is worth more than a few euros, a managed plan is often cheaper within the first month. Self-hosting pays off when you already run infrastructure, have strict data policies or very high volumes.

Data protection in both models

With self-hosting, no third party processes your visitor data, so there is no DPA with an analytics provider. In exchange you are fully responsible for the technical and organisational measures of Art. 32 GDPR: encryption, access control, patching and backups. Your hosting provider may still be a processor.

With an EU-hosted service, the provider is your processor under Art. 28 GDPR. You sign a DPA and review the subprocessor list. Processing inside the EU means no third-country transfer needs to be justified.

In both models, cookieless tracking avoids the device-storage question of § 25 TDDDG for analytics, and you still need a legal basis and an accurate privacy policy. Background: EU-hosted analytics and TDDDG and analytics in Germany.

Popular options for each model

ToolSelf-hostManaged cloudLicence
MatomoOn-Premise, freeMatomo CloudGPL
UmamiYes, freeUmami Cloud (US or EU)MIT
PlausibleCommunity Edition, freePlausible Cloud (EU)AGPL
PugYes, freePug Cloud (EU)AGPL-3.0
PureMetrixNoEU only (Hetzner)Proprietary

Checked on 9 November 2026. Comparisons: PureMetrix vs Matomo, Umami vs PureMetrix, Plausible vs PureMetrix.

Security checklist for self-hosting

If you self-host, these are the tasks that keep analytics safe and reliable:

TaskHow often
Apply application updates (Matomo, Umami, Plausible CE, Pug)With every release, at least monthly
Patch the operating system, runtime and databaseMonthly, security fixes immediately
Back up the database off-site and test a restoreDaily backups, quarterly restore test
Watch disk space and database growthContinuously (alerts)
Renew TLS certificatesAutomatically, check alerts
Restrict admin access (2FA, IP allow-list)At setup, review yearly
Delete old raw data according to your retention policyMonthly

Art. 32 GDPR requires appropriate technical and organisational measures; this list is the practical version of that for an analytics server.

First-party tracking without self-hosting

One reason teams self-host is to avoid ad blockers that block third-party analytics domains. A managed service can solve that too: PureMetrix offers a same-origin proxy (/px) so the browser sends events to your own domain first, with guides for WordPress, Nginx, Apache, Caddy, Cloudflare, Netlify, Vercel and Laravel. You get first-party requests without running the analytics database yourself.

Plan your exit either way

Whichever model you choose, make sure you can leave. With self-hosting you own the database, so the question is whether another tool can import it. With a managed service, check for CSV export, an API and how long data is kept after cancellation. PureMetrix offers CSV export and import and, on Business, a Stats API. Writing this down before you start saves a painful migration later.

Self-hosting fits if

  • policy requires data to stay on your own infrastructure,
  • you have someone who runs servers anyway,
  • you want to change code or query the raw database directly,
  • you have very high volumes where per-pageview pricing becomes expensive.

An EU-hosted service fits if

  • you want analytics without running a database,
  • you prefer a fixed monthly cost to unplanned maintenance,
  • nobody on the team wants to be on call for analytics,
  • you want a supported WordPress or WooCommerce integration.

Middle ground

Several open-source tools offer both: start in their managed cloud and move to self-hosting later, or the other way round. Check export options before you commit.

A quick decision guide

  1. Is there a policy that data must stay on your own servers? If yes, self-host.
  2. Does someone on your team already run servers and enjoy it? If yes, self-hosting is realistic.
  3. Otherwise, compare a managed EU service on price, features and DPA, and start a trial.

More options: best cookieless analytics tools.

Frequently asked questions

What happens to my data if I cancel a managed service?

Check the provider's terms before you start. Export your reports via CSV or API first; PureMetrix keeps existing stats when tracking pauses and documents its cancellation and deletion rules in the terms.

Can I start managed and move to self-hosting later?

With open-source tools that offer both, such as Plausible, Umami or Pug, yes. With a proprietary service like PureMetrix you export your data and switch tools.

Is self-hosted analytics more GDPR compliant?

Not automatically. Self-hosting removes the external processor, but you carry full responsibility for security. An EU-hosted service with a DPA is an equally valid route.

Which analytics tools can I self-host?

Matomo On-Premise (GPL), Umami (MIT), Plausible Community Edition (AGPL) and Pug (AGPL-3.0) are popular self-hosted options.

How much does self-hosting analytics cost?

The software is often free. You pay for a server and database, plus the time for setup, updates, backups and monitoring.

Can I self-host PureMetrix?

No. PureMetrix is a managed service on EU servers (Hetzner).

Is self-hosting better for ad blockers?

Self-hosting on your own domain helps, but a managed service with a first-party proxy, such as the PureMetrix /px proxy, achieves the same without running the database yourself.

How much time does self-hosting take?

Expect a few hours for setup and then regular time for updates, backups and monitoring. The exact effort depends on traffic and your existing infrastructure.

Do I need a DPA if I self-host?

Not with an analytics vendor, because no vendor processes the data. Your hosting provider may still act as a processor and need one.

Try cookieless analytics on your own site

14 days free, no credit card. EU-hosted on Hetzner, set up in a few minutes with the WordPress plugin or a snippet.

Start the 14-day trial See pricing