Google Analytics vs PostHog for GDPR and EU data residency

Google Analytics fits teams already on it that can accept its processor terms and confirm processing location; PostHog fits teams that need a named EU hosting location under a signed DPA or control of the server. This page covers only the GDPR and EU residency angle.

On this page

Google Analytics or PostHog for GDPR and EU data residency: which side fits

The decision turns on three things a GDPR assessor will ask you to show: the processor terms you accepted, the documented location where analytics data is processed, and who runs the infrastructure holding it. Google Analytics and PostHog answer these questions differently, so the right side is the one whose answers your organisation can document and defend. Start with the contract. Google Analytics customers with a direct contract may accept the Google Ads Data Processing Terms in Account Settings, and customers outside the EEA, UK or Switzerland must accept them proactively. Those terms refer to Standard Contractual Clauses and an Alternative Transfer Solution for restricted European transfers, so confirm with Google which terms cover your account and record the acceptance date.

Location is the second question, and PostHog publishes a specific answer for its EU cloud. PostHog's GDPR page says PostHog Cloud EU is hosted on servers based in Frankfurt and is the recommended option, and a DPA is available through its signed-DPA process. Ask for the signed DPA before any event leaves your site, and confirm where support access and backups are handled, because a hosting region does not always cover them. Self-hosting moves both answers into your hands: you pick the location and you run the infrastructure, which makes you responsible for the security of processing under Chapter IV of the GDPR. The PostHog code is MIT licensed outside the ee directory, but premium features there need a PostHog license on a self-hosted instance, and that license should be on file for the assessor.

Choose Google Analytics when your organisation already runs Google contracts, can accept Google's processor terms and transfer mechanism, and can document both. For the assessor, get the processing location in writing: standard Google Analytics 4 properties keep user-level and event data for 2 or 14 months, and that setting applies to explorations and funnel reports only. Set retention to match your privacy notice. Choose PostHog Cloud EU when you need an EU-hosted processor with a DPA you can sign and a documented Frankfurt location, and choose self-hosted PostHog when analytics data must stay in infrastructure you control and you have staff to run it. No vendor page makes you compliant on its own: the assessor will test your configuration, access roles and retention.

Which situations point to Google Analytics and which to PostHog

These illustrative situations show where each product fits for GDPR and EU data residency. Each advantage holds only under the condition named on its card, so a team that cannot meet that condition should weigh the other option. Confirm every condition with the vendor and with your own legal and security teams before you rely on it.

Existing Google Analytics estate

Choose Google Analytics when you already run GA4 properties under a direct contract with Google and want to keep that estate. The advantage holds only if the account can accept the Google Ads Data Processing Terms in Account Settings, which Google allows for direct-contract customers, and only if you can confirm where your properties are processed. Accept the terms before go-live and record who accepted them, because customers outside the EEA, UK and Switzerland must accept them proactively.

Google Ads terms

Named EU hosting under a DPA

Choose PostHog Cloud EU when a written requirement names an EU hosting location and you need a signed data processing agreement before any event is sent. PostHog says Cloud EU runs on servers in Frankfurt, recommends it, and makes a DPA available through its signed-DPA process. The advantage holds only once the signed DPA covers the event types you collect, including session replay if you use it. Ask PostHog to confirm in writing where sub-processors and backups are located.

PostHog GDPR compliance

Control over server and network

Choose self-hosted PostHog when your security team must control the server, the network path and the storage for analytics data. The advantage holds only if your team accepts the licensing split: the core is MIT licensed, but the ee directory has its own license, and premium features there need a PostHog license on a self-hosted instance. Settle the license path before the architecture is built, since the posthog-foss repository is the fully free option. Plan hosting around PostHog's recommended sizing of 4 vCPU, 16 GB of RAM and more than 30 GB of storage.

Assessor expects a vendor certificate

Choose Google Analytics when the assessor expects a vendor certificate in the file and the certificate scope covers your service. Google's Ads Data Processing Terms say Google will maintain ISO 27001 certification, which gives you a contractual commitment to point to, but it matters only if the certified scope includes the Analytics service you use. Confirm the ISO 27001 scope Google commits to maintain and request the current certificate. For PostHog, ask for its own certificate or equivalent evidence before you assume parity.

Analytics security page

What GDPR asks of a product analytics tool in practice

The first decision is who carries the GDPR obligations, because that determines which controls you must evidence yourself. Under Regulation (EU) 2016/679, which has applied since 25 May 2018, the organization that decides why and how personal data is processed is normally the controller, and an analytics vendor that processes that data on its behalf is normally a processor. With Google Analytics, Google acts as processor under its data processing terms. Customers with a direct contract may accept the Google Ads Data Processing Terms in Account Settings, and customers outside the EEA, UK or Switzerland must accept them proactively. With a self-hosted PostHog deployment, your organization runs the processing inside its own infrastructure, so the security, breach handling and hosting decisions sit with your team, and no vendor contract covers the servers you operate.

Three articles shape the evidence. Article 32 requires security of processing, which for a self-hosted stack means your own access control, encryption, patching and backup settings. Articles 33 and 34 cover breach notification to the supervisory authority and to affected people, so you need a runbook that names who detects, assesses and notifies. Chapter V (Articles 44 to 50) governs transfers to third countries, and in practice residency is mostly a question of where data is stored and who can access it. For Google, confirm which transfer mechanism applies, since its terms refer to Standard Contractual Clauses and an Alternative Transfer Solution. For PostHog Cloud, PostHog's GDPR page recommends its EU instance in Frankfurt and offers a DPA through its signed-DPA process, so confirm the subprocessor list covers your data. Self-hosting removes the vendor transfer question, but your backups, alerts and third-party SDKs can still move data out.

Article 83 sets the fine tiers: up to EUR 10 million or 2% of total worldwide annual turnover for infringements such as Articles 25 to 39, and up to EUR 20 million or 4% for infringements of the principles and transfer rules, whichever is higher in each case. Transfer failures therefore sit in the higher tier, so settle the transfer mechanism before you tune the dashboards. Supervisory authorities under Article 51 enforce the regulation nationally, so ask your data protection officer which authority would be competent for your organization. The European Data Protection Board, established under Article 68, issues guidelines and resolves disputes through binding decisions under Articles 65 and 70, so track its guidance in the markets you serve. The primary text is in the GDPR on EUR-Lex. Ask your vendor or internal team to produce the DPA, transfer assessment and data flow map before an assessor asks for them.

How Google Analytics and PostHog document the GDPR controls an assessor reads

This table sets out the GDPR controls an assessor is likely to ask about, and what each vendor documents for Google Analytics and for PostHog Cloud EU and self-hosted. Where the documentation does not answer a row, the cell says what to confirm with Google or PostHog before the assessment. The main takeaway is that Google's documented answers center on its processor terms and transfer clauses, while PostHog Cloud EU rests on Frankfurt hosting and a signed DPA, and self-hosting moves hosting control to you.

ControlGoogle Analytics (as documented)PostHog (Cloud EU and self-hosted, as documented)
Processor contractDirect-contract customers accept the Google Ads Data Processing Terms in Account Settings. Non-EEA, UK or Swiss customers must accept proactively.Cloud EU: DPA available through PostHog's signed-DPA process. Self-hosted: confirm whether any PostHog DPA applies to your setup.
Transfer mechanismThe Ads Data Processing Terms reference Standard Contractual Clauses and an Alternative Transfer Solution for restricted European transfers.Confirm with PostHog which transfer mechanism covers Cloud EU support access and any sub-processors outside the EEA.
Processing locationConfirm with Google the storage and processing regions for your property, including any BigQuery export.Cloud EU runs on servers in Frankfurt and is PostHog's recommended option. Self-hosted runs wherever you deploy it.
Security of processingGoogle states it will maintain ISO 27001 certification under the Ads terms. Request the current certificate and its scope.Review PostHog's public security handbook. Request current certificates or reports for Cloud EU before relying on them.
RetentionGA4 standard properties offer 2 or 14 months. Analytics 360 adds 26, 38 and 50 months. The setting applies to explorations and funnel reports, not standard aggregated reports.Retention depends on your Cloud EU plan or self-hosted setup. Confirm the options and deletion behavior with PostHog.
Access controlAccount and property roles, per Google's users and roles guidance. Confirm role granularity for your organization.Confirm the role model, SSO and admin controls for Cloud EU and for your self-hosted version.
Audit logs and encryptionConfirm with Google the audit log availability and encryption at rest and in transit for your property and plan.Cloud EU: confirm audit log and encryption settings with PostHog. Self-hosted: you control database, storage and TLS settings.
Edition scopeStandard and Analytics 360 differ on retention (2 or 14 months versus 26, 38 and 50 months) and BigQuery export limits.MIT licensed except the ee directory. Premium ee features on self-hosted need a PostHog license. Fully free option: posthog-foss.

How analytics data crosses the trust boundary on each path

The diagram starts with a visitor's browser or app, which sends analytics events along one of three paths. The Google Analytics path leads to Google's processing environment, and the processing location is to be confirmed for your property before you rely on it. A BigQuery export is a second store that your organization configures, so its location and access follow your own setup. The PostHog Cloud EU path stays in Frankfurt and is covered by PostHog's signed DPA process. The self-hosted path sits inside your organization's trust boundary, so you control where events are stored. For each path, check where events are stored and who can access them.

Event flow across the three paths, with the organization's trust boundary around self-hosted PostHog.

Retention, exports and the copies that stay in scope

Set the retention period on the GA4 property first, because the assessor will test it there and it is the setting teams most often forget to record. Standard properties keep user-level and event data for either 2 or 14 months, and Analytics 360 properties add 26, 38 and 50 month options. Google states that this setting affects explorations and funnel reports but leaves standard aggregated reports untouched, so an assessor needs to see both facts together: the chosen period for row-level analysis, and the fact that aggregated reports fall outside it. Write both into your retention schedule, and confirm with Google which option your property type and contract allow, using the data retention guidance as the starting point.

The BigQuery export is a second copy, and it needs its own location and retention decision. Once the export is enabled, the copy in your Google Cloud project can outlive the GA4 setting, so record the dataset location, the table expiration you configure and who can read the dataset. A standard GA4 property has a daily export limit of 1 million events, while Analytics 360 properties can export up to 20 billion events a day. The streaming export has no volume limit but adds BigQuery charges of $0.05 per GB, a recurring cost to budget for. Universal Analytics is a separate case: Google states that access ended the week of July 1, 2024 and that unexported data was permanently deleted, so any older Universal Analytics exports you still hold need their own record of source, date range and location.

For self-hosted PostHog, the copies in scope go beyond the main analytics database. Backups and logs can both hold event data and personal data, so the assessor will expect them in your record of processing and in your deletion plan. PostHog's GDPR page names PostHog Cloud EU, hosted on servers in Frankfurt, as its recommended option and says a DPA is available through its signed-DPA process, but a self-hosted install sits in your environment, so its retention and deletion controls are yours to define. Get the answers in writing from your own operations team and from any vendor involved: how long each backup set is kept, how one person's data is removed from backups and logs, and where log retention is configured. Keep the PostHog GDPR compliance page on file as the vendor reference.

GDPR responsibilities for each side and what the organization still owns

Each side of this comparison documents a different slice of GDPR responsibility. Google sets out contract terms, transfer mechanisms and an ISO 27001 commitment, while PostHog documents a Frankfurt-hosted Cloud EU option and a signed DPA process. The cards below separate what each vendor documents from what your organization still owns.

Google Analytics: documented terms and settings

Google's Ads Data Processing Terms refer to Standard Contractual Clauses and an Alternative Transfer Solution for restricted European transfers, and say Google will maintain the ISO 27001 certification. Customers with a direct contract can accept the terms in Account Settings, and customers outside the EEA, UK or Switzerland must accept them proactively. What stays with you is recording the processing location, setting retention (standard GA4 properties keep user-level and event data for 2 or 14 months), managing user access and deciding whether to export data. Confirm each setting against your own records.

Ads Data Processing Terms

PostHog Cloud EU: Frankfurt and DPA

PostHog's GDPR page says PostHog Cloud EU runs on servers in Frankfurt, is the recommended option, and that a DPA is available through its signed DPA process. Get that DPA signed before any personal data is sent, and check that it covers the processing you actually run. Retention, users and subprocessors stay with you: set how long analytics data is kept, limit which staff can see it, and review PostHog's subprocessor list before you rely on it.

PostHog GDPR page

PostHog self-hosted: what you own

Self-hosting moves the operating load of GDPR onto your team. Your organization owns hosting, patching, encryption, backups, access control and breach response, so each of those controls needs evidence you can show an assessor. The ee directory is a separate decision: premium features there need a PostHog license on a self-hosted instance. If you need fully free software, the posthog-foss repository is purged of proprietary code and features, so confirm which build you are running before go-live.

The controller role for both

Whichever PostHog or Google option you choose, your organization stays the controller, and three duties apply to both sides: keeping records of processing, documenting a lawful basis for each analytics purpose, and running breach response. The GDPR places security of processing in Article 32 and sets breach notification in Articles 33 and 34, so your incident process has to cover analytics data like any other personal data store. Vendor terms, DPAs and certifications support these duties but do not replace them. Confirm each analytics purpose has a recorded basis before you switch anything on.

GDPR text on EUR-Lex

Which evidence an assessor asks for and how each side produces it

Google Analytics is a hosted service that Google runs, so most of the evidence is contract and configuration material that you pull from your own account. The assessor will look for proof that the data processing terms were accepted, where data is processed, which transfer mechanism applies, and how retention and access are set. A vendor certificate or report is evidence the assessor reviews, and DeployOpen does not make that determination.

  • Accepted terms with dates: Customers with a direct contract may accept the Google Ads Data Processing Terms in Account Settings. Customers outside the EEA, UK or Switzerland must accept them proactively, so keep a dated record of the acceptance taken from the account. Analytics Data Processing Terms
  • Transfer mechanism: The Google Ads Data Processing Terms refer to Standard Contractual Clauses and an Alternative Transfer Solution for restricted European transfers. Save the version the assessor will review and confirm with Google which mechanism covers your account.
  • Certificate scope: Google says it will maintain ISO 27001 certification under those terms. Ask which scope statement covers Analytics specifically and keep the current certificate on file. Analytics security and ISO 27001
  • Retention and access exports: Export the configured retention, which is 2 or 14 months for standard GA4 properties and 26, 38 or 50 months for Analytics 360. Google says the setting affects explorations and funnel reports only, so state that scope in your evidence. Export the users and roles list as well.
  • Legacy data: Access to all Universal Analytics data ended the week of July 1, 2024, and unexported data was permanently deleted, so do not expect historical Universal Analytics records in the evidence set.

Check that the acceptance date, the retention setting and the user export all describe the same period the assessor will examine.

Setting up GDPR evidence for Google Analytics or PostHog

This sequence turns a GDPR review of Google Analytics or PostHog into a file an assessor can read. Each step ends with a record you can hand over, from the data flow map to the contract, location, retention and breach evidence. Work through the steps in order, because later steps depend on the decisions made earlier.

  1. Map analytics data flows and roles

    List every place analytics data goes: website and app tags, server-side collection, BigQuery exports, connected reporting tools and any self-hosted servers. For each flow, name the controller (your organization, which decides why and how the data is used) and the processor (the vendor that handles it for you). Assign an owner to every flow and have your privacy lead approve the map. It is done when each flow has a controller, a processor, an owner and an approval date.

  2. Accept Google's terms or sign PostHog's DPA

    For Google Analytics, a customer with a direct contract may accept the Google Ads Data Processing Terms in Account Settings. Google's help page says customers outside the EEA, UK or Switzerland must accept them proactively, so do not assume the terms are already in force. For PostHog, request the DPA through its signed-DPA process. The account owner completes this and keeps the signed document or the acceptance record. It is done when the terms or DPA are in place and a dated copy sits in the evidence folder.

  3. Confirm processing location and transfer mechanism

    Ask each vendor in writing where analytics data is stored and processed, and which transfer mechanism covers any transfer outside the EEA. Google's terms refer to Standard Contractual Clauses and an Alternative Transfer Solution for restricted European transfers, so ask which one applies to your account. PostHog's GDPR page says PostHog Cloud EU runs on servers in Frankfurt and is its recommended option. Confirm the region your account uses before any data is sent. It is done when the written answers are on file and match the account settings.

  4. Set retention to match reporting needs

    In Google Analytics 4, choose the user-level and event data retention period that your explorations and funnel reports need. Google says this setting affects only explorations and funnel reports, and standard aggregated reports are not changed by it, so note that in the file. Standard properties offer 2 or 14 months, and Analytics 360 properties add 26, 38 and 50 month options. For PostHog, confirm the retention options in your plan and record the value for each data type. The owner signs off each value with its business reason. It is done when every retention setting is recorded with its reason and approver.

  5. Restrict access through user roles

    Give each person the least access their job needs. In Google Analytics, see the user and role guide for the roles available, and use the equivalent settings in PostHog. Keep administrator rights with a small, named group, and check who can see raw data and exports. Confirm the current role definitions in each vendor's documentation before you assign them, since permissions can change between releases. The access owner records each user, role and approver. It is done when an export of current access matches the approved list and every administrator is named.

  6. Configure BigQuery export and dataset location

    Skip this step if you do not export to BigQuery. If you do, check the limits before you enable export: Google's help page says standard GA4 properties have a daily export limit of 1 million events, while Analytics 360 properties can export up to 20 billion events a day. The streaming export has no volume limit but adds BigQuery charges of $0.05 per GB. Choose the dataset location within the region your residency decisions allow, and limit who can read the dataset. The data team completes this step. It is done when the dataset location, export type and reader list are recorded.

  7. Deploy self-hosted PostHog with recorded controls

    This step applies only if you run PostHog yourself. The self-host documentation recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage, and offers a free Docker Compose hobby deployment under the MIT license, installed with a deploy-hobby script. Record the server specification, hosting location and version you deploy. Then set encryption, backups and log retention, and write each setting into the file. Confirm with PostHog whether the hobby deployment is supported for your use. It is done when the configuration record exists and a restore test has passed.

  8. Test breach route and assemble evidence

    Run a tabletop test of how a suspected analytics breach would reach your team. Check the vendor contact path and your internal escalation, then confirm how your team would decide on notifying the supervisory authority and affected people under Articles 33 and 34, since the GDPR places those duties on the controller. Assemble the evidence pack: data flow map, signed terms or DPA, location answers, retention record, access list, export configuration, self-host controls and test results. The compliance lead reviews it first. DeployOpen can prepare the pack, but the assessor decides whether it is sufficient.

What buyers ask before hiring help with GDPR analytics

How much effort does a GDPR review of an analytics tool take?

Effort rises with the number of properties, sites and systems that receive data, and it rises again if you self-host. A hosted setup on one site, with terms accepted and a short data map, is a contained exercise for a privacy lead and an admin. Each extra property or site adds configuration to check and settings to record. Each system that receives an export, such as a BigQuery dataset or a downstream warehouse, adds a transfer to document and test. Self-hosting adds servers, access control, logging, backup and patching to the review. Ask for the scope in writing, listing every property, site, export destination and hosting component, because that list is what the effort follows.

How long does a GDPR review of analytics take?

No standard duration applies, because the schedule follows the agreed scope and the availability of the assessor. Scope sets the length: the number of properties, sites, exports and hosting components decides how much testing and documentation is needed. Assessor timing matters as much. An independent assessor or your DPO can only start once they have the evidence set, and their calendar sets the review window. Internal delays often drive slippage, including missing admin access, an unfinished data flow inventory and unclear ownership of sign-off decisions. Fixed-scope work starts only after scope, deliverables and timelines are agreed in writing, so take the timeline from that document. Before you commit, ask the assessor which evidence they will request first and how many review rounds they expect.

What does a GDPR analytics review need from our team?

A review needs three things from your side before any tool work starts:

  • A DPO or privacy lead who signs off the lawful basis, processor terms, retention periods and the process for data subject requests.
  • Admin access to the analytics account or PostHog project, plus infrastructure access if you self-host, including server logs and backup records.
  • A data flow inventory listing every event type, identifier, export and recipient, and the region each one reaches.

The inventory matters most. Without it, nobody can test whether personal data leaves the EU or where a Google Analytics export lands, so it usually sets the pace of the review. Access requests also take longer than expected when admin roles sit with one contact. Confirm who holds the administrator role in Google Analytics user and role settings before scope is agreed.

Can our team run a GDPR review of analytics alone?

Yes, for a hosted setup, if someone on the team has privacy and admin skills. Self-hosting needs operations skills that a privacy review alone does not cover. For Google Analytics, the in-house work is mostly contractual and configurational. An administrator accepts the Google Ads Data Processing Terms in the right account, which Google says direct-contract customers can do in Account Settings and customers outside the EEA, UK or Switzerland must accept proactively, then records retention settings and any BigQuery export. For PostHog Cloud, the team chooses the EU region and requests the DPA through PostHog's signed-DPA process. Self-hosting PostHog is different. PostHog's documentation recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage, and your team then owns patching, backup, access control and logging. Confirm those operations skills before you decide the review can stay in-house.

Which analytics costs are one-time and which recur?

Review and configuration work is one-time, while infrastructure, staff time and usage charges recur.

  • One-time: scoping, the data flow inventory, retention and consent configuration, export setup, DPA signing and the independent assessment itself.
  • Recurring: self-hosted servers, storage and backups, staff time to patch, monitor and review access, BigQuery streaming charges, and PostHog Cloud usage charges.

Google's BigQuery export help lists streaming export charges of $0.05 per GB. PostHog Cloud usage pricing is the variable to model: take current rates from PostHog's pricing page and apply your expected event volume. For self-hosting, server cost follows the sizing above, and staff time can outweigh the infrastructure bill. Ask any vendor or partner for a quote that separates one-time work from monthly charges and states the volume and region assumptions behind each figure.

Does accepting the vendor's data terms make us GDPR compliant?

No. Accepting a processor agreement is one input to a GDPR review, and it does not transfer accountability away from your organization. As controller, you remain accountable for the lawful basis, transparency notices, retention, data subject requests, transfers and security. The supervisory authority or the independent assessor decides whether your overall setup meets the requirement, and no vendor certificate settles that. Google's Ads Data Processing Terms say Google will maintain its ISO 27001 certification, and PostHog's DPA is available through its signed-DPA process, but neither replaces your own assessment of how you use the tool. Fines are substantial: Article 83 of the GDPR sets maximums of EUR 20 million or 4% of total worldwide annual turnover, whichever is higher, for infringements of core principles and transfer rules. DeployOpen prepares controls and evidence for the assessment but does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that work.

How DeployOpen helps prepare the GDPR evidence file

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including the privacy and evidence work around them. For Google Analytics vs PostHog for GDPR and EU data residency, we scope the data flows and retention settings, build and test the chosen setup, and prepare the records a data protection team will ask for.

How we scope

  • Written scope lists the analytics tools, sites, apps and regions in the GDPR review, agreed before work starts.
  • Data flows are mapped: which events, identifiers and retention periods each tool receives and keeps.
  • Fixed-scope engagements set deliverables and timelines in writing; ongoing support is available as a retainer.

How we build

  • Where PostHog is self-hosted, we deploy it in the client's own infrastructure and configure retention and access as scoped.
  • Google Analytics retention settings and acceptance of the Google Ads Data Processing Terms are recorded, with the client confirming each setting in its own account.
  • Access to self-hosted analytics uses SSO, role-based access and audit logging where the platform supports them.

How we hand over

  • Written records of data flows, retention settings, regions and processor terms, organized for the assessor's questions.
  • Configuration and deployment documentation for self-hosted PostHog, so the client's team can run and review it.
  • Test findings come with fixes and a retest where the scope includes one.

How we support

  • Retainers cover upgrades, backups and continuous testing after handover, if the organization wants them.
  • Vendor term, region or retention changes can be reviewed against the evidence file as part of a retainer.
  • Your counsel and data protection officer make the compliance decisions; DeployOpen prepares the controls and evidence.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.