Google Analytics 4 and the GDPR: do you need consent? How to use it lawfully in 2026

calendar_today September 14, 2026
Google Analytics 4 and the GDPR: do you need consent? How to use it lawfully in 2026

Google Analytics 4 is the most widely used statistics tool in the world, and the question of how to use it in Europe has never stopped causing confusion. In 2022 the Austrian, French and Italian authorities found the use of Universal Analytics unlawful because of data transfers to the United States; in 2023 the European Commission adopted the Data Privacy Framework and Google certified under it; meanwhile Universal Analytics was switched off and GA4 changed the way it handles IP addresses. As a result many people think the problem is solved. It is, only in part.

Data transfers are no longer the main problem

The 2022 decisions concerned transfers of data to the United States without adequate safeguards. Since July 2023, US companies certified under the Data Privacy Framework, Google among them, may receive data from the European Union on the basis of the Commission's adequacy decision. As long as that decision stands, transfers to GA4 are covered. GA4 also does not log or store the IP addresses of European users: it uses them only to derive an approximate location and then discards them. These two elements take the 2022 objection off the table, but they do not touch the question of consent.

Why consent is still required

GA4's cookies, _ga and _ga_ followed by the property identifier, stay in the browser for up to two years and assign every visitor a persistent identifier. For regulators such as the Italian Garante and the French CNIL, statistics cookies may do without consent only if they produce aggregated statistics for a single site, without the third party using the data for its own purposes and without following the user across sites. GA4, in its standard configuration, does not meet these conditions: Google may use the data to improve its own services, Google Signals links visits to Google accounts for cross-device tracking, and conversions are shared with Google Ads. So GA4 must be treated as a statistics cookie subject to consent: blocked until the choice, activated only if the user accepts the statistics category. The same conclusion applies in Germany under Section 25 of the TDDDG, in Spain and in most European countries.

The settings to change in GA4

Even with consent, some settings reduce the data collected and make the processing easier to defend.

  • Data retention: in the Admin menu set event data retention to 2 months if you do not need comparisons on non-aggregated data; the maximum is 14 months.
  • Google Signals: turn it off if you do not use remarketing and demographic reports, because it links data to Google accounts.
  • Data sharing: in the account settings turn off the sharing options with Google products and technical support that you do not use.
  • Granular location and device data collection: can be turned off per region, reducing precision on city and device.
  • Google Ads link: if active, GA4 data becomes advertising data and the category to request is also marketing, not only statistics.
  • Notice: list GA4 in the cookie policy with the cookie names, their duration and the link to Google's privacy notice.

Consent Mode: basic or advanced

Consent Mode v2 tells Google tags what the consent status is. In basic mode the tags do not fire until the user accepts: this is the configuration that strictly respects the prior blocking regulators require. In advanced mode the tags fire anyway and send Google cookieless signals, which Google uses to model missing conversions. Regulators have not ruled on advanced mode and opinions are divided, because the signal still contains information about the visit. If you want to stay on safe ground, use basic mode and accept losing the statistics of those who refuse. We have a dedicated guide to Consent Mode v2 in our news section.

The alternatives

If consent makes you lose too much data, there are tools that use neither cookies nor persistent identifiers, such as Plausible, Fathom or Matomo in cookieless configuration. Some authorities, such as the French CNIL, have declared measurement tools exempt from consent when configured strictly; other regulators have not published a list, but the conditions in their guidelines are the same. They remain tools to evaluate one by one, reading what they really do with the data.

How Konsento handles it

Konsento's scanner recognises GA4 cookies and assigns them to the statistics category. The banner blocks the Google Analytics script until consent, even when loaded through Google Tag Manager, and sets Consent Mode v2 to denied before the page loads. When the user accepts statistics, GA4 starts with analytics_storage granted; if they refuse, it does not start. Every choice is saved in the consent log and the cookie policy lists GA4's cookies with duration and a link to Google. All included in the one-time licence of 86 euros per domain, no subscription, with a 15-day free trial: konsento.cloud/en/register.

arrow_back Torna alle News