Technical compliance · sources checked 29 July 2026
Google Analytics GDPR: test the setup
GA4 is not one fixed data flow. Record what your implementation sends, stores, links, exports, and changes in every consent state, then route the legal decisions to the accountable owner.

Direct answer
- No product-level label makes every Google Analytics 4 setup lawful or unlawful. The answer depends on the implementation, purposes, terminal-equipment operations, personal-data processing, roles, agreements, transfers, notices, and consent decision.
- Basic Consent Mode blocks Google tags until interaction and sends no data before consent. Advanced Consent Mode loads tags with denied defaults and sends cookieless measurements. “Denied” does not always mean “no request.”
- GA4 does not offer the old Universal Analytics IP-masking toggle. Google says individual IP addresses from EU, Swiss, and UK users are used for geolocation and discarded before logging. Other identifiers and event data still require review.
- Build one evidence register for the collection path, states, identifiers, events, destinations, linked products, retention, exports, contracts, transfers, owners, artifacts, and open decisions.
The decision
Ask “what does this GA4 setup do?” before asking whether GA4 is allowed.
The browser can show requests, storage, parameters, consent signals, and some destinations. Admin screenshots can show property settings, product links, retention, access, and exports. Contracts and privacy records show a different layer. None alone proves that the whole implementation meets the GDPR or German law.
Section 25 TDDDG addresses storing information on or accessing information from terminal equipment. The DSK digital-services guidance separates that question from later personal-data processing under the GDPR. Record both; let the controller’s DPO or counsel decide exceptions, legal bases, roles, transfer treatment, and notice wording.
Consent Mode
Basic and advanced mode produce different pre-consent evidence.
| Implementation | Before consent | What to verify | Decision |
|---|---|---|---|
| Basic Consent Mode | Google tags are blocked; Google says no data, including consent status, is sent before interaction | No Google tag request, GA request, Analytics storage, or alternate injection path | Whether this implementation and its consent interface fit the stated purposes |
| Advanced Consent Mode | Google tags load with denied defaults and send measurements without cookies for modeling | Requests, parameters, consent defaults, passive headers, page data, redaction, URL passthrough, and later updates | Whether the pre-consent operations and processing have an appropriate treatment |
| No or broken integration | Hard-coded tags or duplicate injectors may fire independently of the CMP choice | Every GTM, plugin, theme, SDK, Measurement Protocol, and server-side path | Remediation owner and release block |
What Google documents
A denied storage signal can still produce a network request.
Google’s Consent Mode overview says advanced mode sends cookieless pings while consent is denied. These can include timestamp, user agent, referrer, consent state, ad-click presence, and a random number per page load. Capture the exact request. The label “cookieless” cannot determine personal-data status or legal basis.
The implementation guide requires defaults before measurement commands and updates after user action. It also describes `analytics_storage`, `ad_storage`, `ad_user_data`, and `ad_personalization`. Check ordering, region scoping, `wait_for_update`, URL passthrough, data redaction, and what the CMP actually persists.
Evidence register
Eight records that make a GA4 review answerable.
01
Map every collection path
Record gtag.js, GTM web container, plugins, Site Kit, theme code, app SDKs, Measurement Protocol, server-side containers, proxies, and backend events. Name the owner and the measurement IDs each path can reach.
02
Test five consent states
With fresh profiles, capture before choice, reject, analytics accept, change, and withdraw. Save requests, parameters, cookies, local storage, consent values, timestamps, routes, market, language, and screenshots.
03
Inventory identifiers and payloads
Record Client ID, User-ID, session and device data, page URLs, referrers, event names, custom dimensions, form or ecommerce parameters, ad-click IDs, and any values that should never reach Analytics. Test redaction and deletion paths.
04
Trace destinations and links
List the GA4 property, Google Ads links, Search Console, BigQuery, Firebase, Looker Studio connectors, audiences, APIs, and downstream warehouses. A property setting does not govern every exported copy.
05
Capture the actual configuration
Export or screenshot data sharing, Google Signals, ads personalization, granular location and device controls, unwanted referrals, cross-domain measurement, internal traffic, consent settings, and access roles with date and property ID.
06
Record retention by data store
Capture the GA4 user and event retention setting, reset-on-activity choice, BigQuery dataset expiry, warehouse backups, dashboards, audiences, and deletion workflows. Do not describe one GA4 setting as a universal deletion policy.
07
Match agreements and roles to features
Record the contracting entity, applicable Google terms, customer legal entity and contacts, enabled services, role analysis, recipients, countries, transfer instrument, evidence date, and the owner who approved the assessment.
08
Retest on defined changes
Trigger a retest for CMP, GTM, plugin, event schema, product link, Ads control, Signals, server-side route, export, contract, vendor, purpose, retention, or privacy-notice changes. Record the affected states and artifacts.
IP addresses and identifiers
Correct an old GA instruction without understating the remaining data.
Google states in its EU-focused Analytics privacy documentation that individual IP addresses from EU, Swiss, and UK users are used to derive coarse geolocation and discarded before logging. GA4 does not require the old Universal Analytics `anonymizeIp` setting.
Google’s data-collection documentation says Analytics normally stores a Client ID in the first-party `_ga` cookie and does not store it when Analytics storage is deactivated through Consent Mode. Review the full event payload and destinations; the IP statement does not make Client ID, User-ID, URLs, events, or other values disappear.
Retention
The GA4 retention control is narrower than many privacy notices imply.
Google’s retention documentation describes automatic deletion periods for user-level and event-level data. It also says the setting does not affect standard aggregated reports. The reset-on-new-activity option can extend the expiry of a user identifier when activity continues.
Record the selected value and its scope. Then follow every export and linked destination separately. BigQuery, a warehouse, a downloaded report, or an Ads audience has its own control and owner.
Terms, roles, and transfers
Keep the applicable documents with the feature map.
Google’s Analytics data-processing terms page says the Google Ads Data Processing Terms replaced the earlier Analytics amendment and explains when terms are incorporated or accepted in account settings. Record the actual account, customer entity, terms path, contacts, and date instead of copying “AVV done” into a checklist.
Features can create additional data uses and destinations. Google’s 2026 data-control update says that from 15 June 2026 Consent Mode controls Ads data collection while the Google Signals setting controls association with signed-in data for behavioral reporting; further Ads-personalisation changes are scheduled later in 2026. Save the current state and review it again when Google completes the change.
For transfers, record the recipient entity, country, data, feature, and instrument relied on. The European Commission maintains the EU-US data-transfer and Data Privacy Framework material. Certification or an adequacy decision informs the controller’s current transfer assessment and cannot permanently guarantee every flow.
Compliance next step
Get a compliance check on: Google Analytics GDPR
Send us where your site stands today. We reply with the risks that carry real exposure, not a generic checklist.
Alternatives
Compare the actual operating models.
| Model | Evidence to compare | Limit to keep visible |
|---|---|---|
| GA4 with basic Consent Mode | No pre-consent Google transmission, property controls, links, contracts, and measurement loss | Consent and post-consent processing still need review |
| GA4 with advanced Consent Mode | Denied-state pings, modeling, redaction, parameters, controls, and documented treatment | Cookieless does not settle the legal questions |
| Self-hosted or EU-hosted analytics | Code, storage/access behavior, hosting, subprocessors, identifiers, retention, and access | Hosting location alone does not settle purpose or legal basis |
| Server-side or first-party collection | Browser-to-server and server-to-vendor flows, transformations, logs, secrets, and exports | A proxy changes the path; it does not make data anonymous by itself |
| No person-level analytics | Business decisions that remain possible from operational or aggregate measures | Validate whether reduced data still answers the real questions |
Review output
A useful GA4 evidence pack contains facts, decisions, and limits.
✓
Dated architecture showing every browser, app, server, Google, Ads, and export path.
✓
Five-state request and storage evidence for representative routes and devices.
✓
Identifier, event, custom-parameter, purpose, recipient, and destination inventory.
✓
Dated property, consent, Ads, Signals, access, retention, sharing, link, and export settings.
✓
Applicable terms, entities, roles, transfer record, privacy-notice mapping, and accountable approvers.
✓
Findings with technical owner, privacy or legal decision owner, due date, retest trigger, and verification limit.
Next step
Test the implementation independently when the decision matters.
Use the cookie-banner guide for the wider five-state interface and enforcement test. Use the GDPR website checklist for forms, providers, notices, rights, security, and deletion.
For independent browser evidence, configuration review, finding ownership, and post-fix retesting, use the technical GDPR audit. The GDPR audit cost guide helps compare scope and published pricing.
Common questions
Questions about Google Analytics and GDPR.
Is Google Analytics illegal in Germany?
There is no reliable product-level answer for every GA4 setup. Document the exact implementation, purposes, TDDDG operations, personal-data processing, consent behavior, roles, terms, transfers, notices, retention, and security. The accountable DPO or counsel can then decide whether that setup is acceptable.
Does GA4 need consent in Germany?
That is a case-specific decision about the actual storage or access and processing. The product name alone cannot decide it. Typical marketing analytics implementations often use consent, but the reviewer should apply section 25 TDDDG and the GDPR to the recorded facts and purposes.
Does denied Consent Mode stop all Google requests?
Not in advanced mode. Google documents that tags load and send cookieless measurements while consent is denied. Basic mode blocks tags and sends no data before consent. Test which mode and which additional tags your site actually uses.
Is GA4 IP anonymisation enough?
GA4 has no old-style IP anonymisation toggle for this. Google says individual EU, Swiss, and UK IP addresses are discarded before logging after geolocation use. You still need to review other identifiers, events, purposes, recipients, agreements, transfers, notices, and controls.
Do we need an AVV or DPA with Google Analytics?
Record the applicable terms, customer and Google entities, enabled features, and role analysis. Google says its Ads Data Processing Terms replaced the earlier Analytics amendment and are incorporated or accepted differently depending on the customer. Have the accountable owner confirm the complete contract and role record.
Does server-side tagging make GA4 GDPR compliant?
No architecture label proves compliance. Server-side tagging changes the collection path and may add control over filtering and destinations. Review the browser request, server logs, transformations, onward transfers, identifiers, purposes, security, retention, and consent behavior.
Written by
Vineet Talwar
Co-founder, Tech & Operations at Some Tech Work. WordCamp speaker across Europe and Asia, and host of the WP Shoutout podcast.
Start here
Ready to talk.Book a short diagnostic.
Tell us what needs fixing
We read every brief and reply within one business day.
Prefer to talk first?or request a tech stack audit →or email us directly →
Not sure where to start? Send the stuck decision, workflow, or page. We will say whether you need a diagnostic call, a tech stack audit, or a different first step.