The 9 best GDPR-compliant analytics tools
Contents
The GDPR (General Data Protection Regulation) places significant restrictions on how you can use tools like Google Analytics to track and collect user data.
And, while there is no universal legal definition of what constitutes "GDPR-compliant analytics", there are some fundamental principles you can follow:
You must acquire "unambiguous consent": Tucking a notice away in your terms and conditions isn't enough. This is why cookie banners are a thing. You need user consent if you're collecting personally identifiable information.
Data must be handled securely: GDPR punishes breaches of privacy and security severely. Data must be held securely and staff trained in how to handle data. You must also delete any personal data you hold if a user requests it.
Only collect data you actually need: The GDPR encourages organizations to only collect information they actually need. A free online newsletter, for example, needs a user's email address and basic information, such as their name and what country or city they live in, but it doesn't need their home or work address.
Until recently, storing personal data on EU citizens in the US was also considered a potential breach of the GDPR, but a new adequacy decision agreed in July 2023 makes this less problematic. It's still good practice to avoid transferring this data if you can, but it's not a breach provided US-based companies participate in the new EU-US Data Privacy Framework.
Changelog:
- Mar 15, 2023: Added Umami
- Aug 29, 2023: New adequacy decision, added Vercel Web Analytics
The best GDPR-compliant analytics tools
There are numerous ways to achieve GDPR compliance, which you can broadly categorize as good, better or best:
- Good: Data transferred to the US is anonymized
- Better: Data is stored in EU cloud servers
- Best: You self-host and control all data / no personal data is collected
All the tools in this list offer one or more of these methods. We've also chosen a broad range of tools that includes in-depth product analytics platforms, lightweight "privacy first" platforms and open source Google Analytics alternatives.
1. PostHog
PostHog is an all-in-one, open-source analytics platform that combines product analytics, session recording, feature flags, and experimentation into a single platform. Think Amplitude + Hotjar + LaunchDarkly in one.
PostHog offers EU data hosting, so you can keep all your user data within the EU to comply with the GDPR. Hobbyists can also self-host PostHog Open Source via Docker Compose, though this is only recommended for smaller event volumes in the ~100k per month range. PostHog also supports event autocapture, so you can start collecting useful data immediately without instrumenting events by hand.
Who is PostHog for?
PostHog is especially helpful for product teams that want to understand how users use their product. It's great for early-stage startups, but the powerful tool set and range of integrations means it scales to suit any business size.
Features & benefits
- An all-in-one analytics suite
- EU data hosting available
- Feature flags, A/B testing, heatmaps, session recording and more
- Apps to integrate with data warehouses
- Unlimited ability to scale
- Open source, via MIT license
PostHog and GDPR compliance
- Open Source: ✔
- Self Hosting: ✔
- EU Cloud Hosting: ✔
- Cookieless Tracking: ✔
Smaller projects can self-host PostHog Open Source using Docker Compose, but PostHog Cloud EU, a fully-managed service with servers hosted in Frankfurt, Germany, is the best option for most users.
While PostHog uses cookies by default, it can be configured not to use cookies. To use PostHog without cookies, data is stored in a JavaScript object in memory
that only lasts the duration of the pageview.
How much does PostHog cost?
PostHog Cloud is free to use up to 1 million events per month and 5,000 recordings. Paid plans include support for multiple projects, and advanced features like A/B and multivariate testing, correlation analysis, cohorts and group analytics. The open source edition is free to self-host and includes the core product analytics features, session recording, and support for one project only.
Need analytics hosted in the EU?
2. Plausible
Plausible is a lightweight alternative to tools such as Google Analytics. It offers an effective way to track simple web metrics, such as page views and the number of unique visitors, but lacks the depth of a full product analytics platform.
Plausible’s lightweight nature does offer several benefits however, such as a small script size which means it has a minimal impact on page performance. This further distinguishes it from the bloat of Google Analytics.
Plausible’s intense focus on privacy makes it an attractive option for individuals, but also imposes restrictions on how data can be used and stored. There’s no way to identify users or track behavior across multiple sessions or devices, for example.
Who is Plausible for?
Plausible is a good fit for small content and marketing teams who need to track simple website metrics, or for freelancers and bloggers who only need to monitor small sites.
Features & benefits
- Lightweight script with minimal page speed impact
- No need for any cookies, at all
- Minimal data collection for users
- No tracking across sessions, devices or sites
Plausible and GDPR compliance
- Open Source: