Skip to content
GDPR compliant. Hosted in the EU.
14-day free trial →
Consent RequiredPre-Consent DetectionTag Management
Data protection 19 min read 17 Aug 2026

Google Tag Manager Needs Consent: Where It Stands in 2026

VG Hannover: Google Tag Manager needs consent. Fines up to 300,000 euros. How to check in your browser whether your container loads before consent.

X

XICTRAQ® Team

XICTRAQ®

ConsentTag-ManagementGDPRGoogle Tag ManagerTDDDG
300,000 €
fine range for access without consent under Section 25 TDDDG (Section 28 TDDDG)
47.1%
of all websites used Google Tag Manager on 1 January 2026 (W3Techs)
61%
of pages with Google as a tracker (HTTP Archive Web Almanac 2025)
Google Tag Manager: what fires before consent?First visit: what loads before the consent click?Consent clickgtm.jsAnalytics beaconMarketing pixelFonts and CSS3 trackers fire before consent§ 25 TDDDG breachedTarget: load GTM only after 'Accept'Consent gate placed in frontPage loadTimeLegal exposure and prevalence€300,000max fine — § 28 TDDDG47.1%of all websites (W3Techs)61%pages with Google trackersVG Hannover, 19 Mar 2025Case 10 A 5385/22:Merely loading gtm.jsaccesses the device —consent is required.Detect pre-consent trackers: a finding when a tag fires before consentFirst visit simulated and monitored continuously — by XICTRAQ®VG Hannover 19 Mar 2025 (Case 10 A 5385/22); § 28 TDDDG (up to €300,000); W3Techs (1 Jan 2026); HTTP Archive Web Almanac 2025
Google Tag Manager (GTM) ran on 47.1% of all websites on 1 January 2026 (W3Techs) and often loads before the visitor has answered the cookie banner. On 19 March 2025 the Hanover Administrative Court (VG Hannover, case 10 A 5385/22) ruled that using it requires prior consent under Section 25(1) TDDDG (called TTDSG until May 2024) and Article 6(1)(a) GDPR (VG Hannover, 19 Mar 2025). The decisive factor was a test by the supervisory authority: on the very first visit, before any click in the banner, the IP address and device data were sent to googletagmanager.com and the gtm.js script was stored on the device (VG Hannover, 19 Mar 2025). Access without consent can be fined up to 300,000 euros under Section 28 TDDDG (Section 28 TDDDG). This guide sets out where things stand in November 2026, how to check in the browser and which routes are open afterwards - up to the GDPR scanner for pre-consent trackers.

The VG Hannover ruling in plain terms

The claimant was a publishing house challenging the data protection commissioner of Lower Saxony. The authority had examined the website in its IT lab on 15 November 2022 (VG Hannover, 19 Mar 2025); according to its order, 122 third-party services were embedded (VG Hannover, 19 Mar 2025). It demanded valid consent and, for Google Tag Manager, consent or its removal from the website (VG Hannover, 19 Mar 2025). On 19 March 2025 the Hanover Administrative Court dismissed the action against it (case 10 A 5385/22).

The use of the Google Tag Manager service requires consent under Section 25(1) TTDSG and Article 6(1)(a) GDPR.

— VG Hannover, judgment of 19 March 2025, case 10 A 5385/22, official headnote 4 (our translation)

The reasoning rests on the first visit. Before any interaction with the banner, the IP address and device data were transmitted to the server www.googletagmanager.com, and the gtm.js script was stored on the device, containing the operator's container ID and reading out user information (VG Hannover, 19 Mar 2025). Both elements of Section 25(1) were therefore met: storing and accessing. The court rejected the exemption for strictly necessary operations because the tag manager offers visitors no function they asked for, and because loading marketing tools after consent can also be done with a script of one's own (VG Hannover, 19 Mar 2025).

On the banner, the ruling is narrower than often quoted. The first layer offered two routes to full consent - 'Accept all' and 'Accept & close x' - while rejecting required a detour via 'Settings' (VG Hannover, 19 Mar 2025). Anyone who saved their choice there saw the banner again on every visit. Taken as a whole, the court found, this design deliberately steers users towards consent, which was therefore not freely given (VG Hannover, 19 Mar 2025). Whether a rejection must in principle be designed exactly like consent, however, the court expressly left open: case law had not yet settled that question conclusively (VG Hannover, 19 Mar 2025).

Note: What the ruling does NOT say

Google Tag Manager is not banned: the order was to obtain valid consent or remove the service (VG Hannover, 19 Mar 2025). The court did not assess an empty container separately; its reasoning, however, ties in with the loading itself. It did not establish a general duty to offer an equivalent 'reject all' button. And it is a first-instance judgment: the official publication in the Lower Saxony legal information system does not state that it is final (checked on 18 Nov 2026).

Why loading the script already counts

Many operators regard the tag manager as an empty container that tracks nothing itself and may therefore run without consent. That view falls short, because Section 25 TDDDG does not ask whether tracking takes place, but whether information is stored on the device or information already stored there is accessed. The provision implements the ePrivacy Directive (TDDDG status note) and reads at its core:

The storage of information in the end user's terminal equipment or access to information already stored in the terminal equipment is only permitted if the end user has consented on the basis of clear and comprehensive information.

— Section 25(1) sentence 1 TDDDG (our translation)

The European Data Protection Board adopted the final version of its Guidelines 2/2023 on the technical scope of the ePrivacy Directive on 7 October 2024 (European Data Protection Board). According to them, merely distributing a tracking pixel or tracking link to the terminal equipment already constitutes storage, at the very least through the caching mechanism of the software on the device (European Data Protection Board). And the Board expressly cites JavaScript that instructs the browser to send information to a server as an example of access (European Data Protection Board). The German supervisory authorities likewise treat it as access when a script actively reads out properties of the device and transmits them to a server to create a fingerprint (German Data Protection Conference). For the tag manager, the authority found that gtm.js queries individual browser data that is typically used for browser fingerprinting (VG Hannover, 19 Mar 2025).

Then there is the route the data takes: the connection during the first visit went to a server in the United States (VG Hannover, 19 Mar 2025). Since 10 July 2023 the European Commission's adequacy decision on the EU-US Data Privacy Framework has covered transfers to organisations on the list kept by the US Department of Commerce (European Commission). But it only governs where data may go; it does not replace consent under Section 25 TDDDG for storing and reading on the device. Which data actually leaves on the first visit is shown in the article on measuring data flow and third-country transfer.

How widespread the problem is

The reach of the ruling follows from the tool's market position. On 1 January 2026 Google Tag Manager ran on 47.1% of all websites; two years earlier the figure was 49.4% (W3Techs). On the same date, 52.7% of websites used none of the tag managers tracked (W3Techs). It follows that among websites with a tag manager, Google Tag Manager's share was around 99.6% (W3Techs). Anyone who uses a tag manager is therefore, as a rule, directly affected.

In the HTTP Archive Web Almanac 2025, Google appears as a tracker on 61% of the pages studied (HTTP Archive Web Almanac 2025). 55% of pages include domains that the measurement classifies as 'essential', a category that includes Google Tag Manager (HTTP Archive Web Almanac 2025). Legally that is no assessment - for the tag manager, VG Hannover specifically rejected the exemption for strictly necessary operations (VG Hannover, 19 Mar 2025). A note on the figures: the Almanac crawls from the United States, for which, by its own account, consent banners under the advertising industry's framework are not required (HTTP Archive Web Almanac 2025).

What a breach costs legally and commercially

The sanctions sit on two levels. Under Section 28(1) no. 13 TDDDG, anyone who stores information or accesses information contrary to Section 25(1) sentence 1 commits an administrative offence (Section 28 TDDDG); the fine can then reach up to 300,000 euros (Section 28 TDDDG). Who supervises compliance for an ordinary website was settled for Lower Saxony by VG Hannover in its very first headnote: the state data protection commissioner (VG Hannover, 19 Mar 2025). The Federal Commissioner for Data Protection is responsible for Section 25 only where telecommunications providers or federal public bodies store or access information (Section 29 TDDDG).

If unlawful processing of personal data is added - and an IP address sent to a third party is such data - the GDPR applies on top. Infringements of the basic principles for processing, including the conditions for consent, can be fined up to 20 million euros or 4% of worldwide annual turnover, whichever is higher (Article 83 GDPR). The authority sets the amount in each case according to the circumstances, including the nature, gravity and duration of the infringement (Article 83 GDPR).

Worked example: which ceiling applies to your company?

Because Article 83(5) takes the higher of the two amounts, turnover decides which limit applies. The threshold can be calculated: 20 million euros divided by 4% gives 500 million euros of annual turnover (Article 83 GDPR). Below that, the ceiling stays at 20 million euros; above it, the ceiling grows with turnover:

Worldwide annual turnover4% of itCeiling under Article 83(5) GDPRRange under Section 28 TDDDG
12M euros (online retailer)480,000 euros20M euros300,000 euros
500M euros (threshold)20M euros20M euros300,000 euros
2bn euros (group)80M euros80M euros300,000 euros

These are ceilings, not expected amounts. What comes before a fine often weighs more: an order with a deadline and the duty to prove implementation within one month, as upheld by VG Hannover (VG Hannover, 19 Mar 2025).

Besides the supervisory route there is civil litigation: On the banner design, VG Hannover also refers to judgments of civil courts, namely the Higher Regional Court of Cologne of 3 November 2023 (I-6 U 58/23) and the Regional Court of Cologne of 4 May 2023 (33 O 311/22) (VG Hannover, 19 Mar 2025). Whether a breach can also be pursued with a warning letter is a question for your own legal advice; how quickly warning letters can pile up on another mandatory topic is shown by the BFSG warning-letter wave over missing accessibility.

Warning: The authority's test needs no cooperation

The authority needed no access to the container for its finding: it recreated the first visit in its IT lab (VG Hannover, 19 Mar 2025). Anyone can repeat this test from the outside, without access to the container and without the operator knowing.

The typical consent mistakes at a glance

Four failure patterns keep appearing in practice. What they share: something is stored or read before the visitor has validly consented.

GTM ungated in <head>

The standard snippet loads gtm.js on page load, before the banner is answered - the state that underlay the ruling (VG Hannover, 19 Mar 2025). The script belongs behind the consent gate.

Easy to accept, hidden reject

Two buttons for full consent, rejection only via 'Settings', a banner that returns after every rejection: taken as a whole, the ruling found the consent was not freely given (VG Hannover, 19 Mar 2025). Where the banner blocks the page, the supervisory authorities require a reject option on the first layer (German Data Protection Conference).

Cookies before the click

Analytics and advertising cookies on page load: each of them is an act of storage within the meaning of Section 25(1) TDDDG, permitted without consent only in narrow exceptions (Section 25 TDDDG).

Advanced consent mode as a fig leaf

In advanced consent mode, Google tags load as soon as the page is opened and, if consent is denied, send measurements without cookies (Google developer documentation). In basic mode they stay blocked until the user interacts with the banner (Google developer documentation).

What consent mode changes technically and why modelled data is no substitute for measurement is covered in the article on Consent Mode v2.

The check needs no access to the container, just a browser with developer tools. It recreates what the authority did in its IT lab: a first visit without consent (VG Hannover, 19 Mar 2025). The labels follow the English Chrome interface.

  1. Create a clean first visit: open a private window, switch off ad blockers and extensions - otherwise they fake a clean picture.
  2. Prepare the Network tab: open the developer tools with F12, tick 'Preserve log' and 'Disable cache' in the 'Network' tab, and only then enter the address.
  3. Load without clicking: wait a few seconds without touching the banner; some tags fire with a delay.
  4. Filter for the tag manager: type googletagmanager into the filter field. A row gtm.js?id=GTM-… with status 200 means the container loaded before the decision. The 'Initiator' column shows what loaded it.
  5. Note the third parties: clear the filter, show the 'Domain' column via a right-click on the header, sort by it and note every external host.
  6. Check storage: in the 'Application' tab, look under 'Cookies' and 'Local storage' at what is already there before the decision.
  7. Counter-check reject: reject, empty the list via 'Clear network log', reload, repeat steps 4 to 6. Afterwards neither gtm.js nor advertising or analytics requests may appear.
  8. Secure the finding: export the request list via the download icon and file it with the date.
Example finding: first visit without consent
Private window, no click in the banner, filter: third parties

No  Start   Host                              Path                      Status  Initiator
 1  0.00 s  www.example-shop.example          /                         200     document
 2  0.12 s  www.example-shop.example          /consent/banner.js        200     (index)
 3  0.18 s  www.googletagmanager.com          /gtm.js?id=GTM-ABC1234    200     (index)
 4  0.57 s  www.googletagmanager.com          /gtag/js?id=...           200     gtm.js
 5  0.84 s  analytics.thirdparty.example      /collect?...              204     js?id=...

Cookies before the decision: 2 (domain of the analytics service)

Row 3:    container loaded before consent
Rows 4-5: tags fire without consent

The example is made up, the pattern is not: first the container, then its tags, and in the end cookies in storage before anyone has clicked. How to read your own finding:

Finding before the decisionMeaningNext step
gtm.js loads, further tags firesame state as in the VG Hannover caseremove snippet, tie loading to the consent event
gtm.js loads, no other third-party requestsempty container or tags blocked until consent; loading still requires consentput the container behind the consent gate
analytics or ad requests without cookiestypical picture of advanced consent modechoose basic mode or load the container only after consent
only own domain and banner scriptno third party before the decisionrepeat the counter-check after rejecting and after every release

How the same check can be compared automatically against an approved list after every release is described in the article on monitoring consent and tag drift; here the focus is deliberately on the manual check.

Tip: Reproduce the first visitor automatically

In its GDPR scanner, XICTRAQ® recreates a first-time visitor without consent and records the trackers, cookies and network requests that occur before the decision - including requests to www.googletagmanager.com. So you see whether your container loads before the click, instead of guessing.

The technical fix is straightforward: nothing that requires consent loads before consent - neither the container nor a single tag. This sequence has proven itself:

  • Blocker first: the consent tool loads before everything else and holds back all non-essential scripts until a decision is made.
  • GTM only after 'Accept': the container is loaded only once the user has actively consented - via an event, not via an embedded snippet.
  • Reject without a detour: next to 'Accept all' there is an equally accessible rejection; in the view of the supervisory authorities it is needed there at least when users have to interact with the banner to keep using the page (German Data Protection Conference).
  • Store consent verifiably: where processing is based on consent, the controller must be able to demonstrate that it was given (Article 7 GDPR) - with time, scope and banner version.
  • Withdrawal as easy as consent: withdrawing consent must be as easy as giving it (Article 7 GDPR), for example via a permanently accessible link to the settings.

In code this means: the standard GTM snippet in the <head> is replaced by a function that fires only after documented consent. A schematic example:

gtm-consent-gate.html
<!-- Wrong: GTM loads immediately in <head>, before any consent exists -->
<script>(function(w,d,s,l,i){/* gtm.js is loaded straight away */})(window,document,'script','dataLayer','GTM-XXXX');</script>

<!-- Right: load GTM only after documented consent -->
<script>
  function loadTagManager(){
    var s = document.createElement('script');
    s.src = 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXX';
    document.head.appendChild(s);
  }
  // The consent tool calls this ONLY after the visitor clicks 'Accept'
  window.addEventListener('consent:granted', loadTagManager);
</script>

If you would rather avoid consent-requiring cookies altogether, the article on cookieless analytics usually without consent banners shows an alternative route, and the fundamentals of a legally sound banner are covered in the guide to implementing cookie consent correctly.

Decision aid: three routes after the ruling

After the test, a fundamental decision is usually due. The three routes differ above all in what loads before the visitor decides and which data you still see afterwards.

CriterionA: GTM only after consentB: GTM immediately, advanced consent modeC: no tag manager, cookieless measurement
What loads before the decisionbanner and own contentcontainer and Google tagsown measurement script without storage access
Relation to the rulingmatches the orderloading before consent, as objected totag manager gone; consent question depends on the configuration
Measurement dataonly from visitors who consentmeasurements without cookies even after rejectionreach of all visits, without individual profiles
Suitsadvertising and conversion tagsnot advisable after the rulingreach, pages, sources

Often it is a combination: advertising and conversion tags on route A, reach measurement on route C. Route B is hard to defend after the ruling, because Google itself describes that in advanced mode the tags load when the page is opened (Google developer documentation).

Worked example: what consent means for your figures

How much route A shrinks your measurement depends solely on your consent rate, which your banner tool shows you. An example calculation with assumed rates for a shop with 20,000 visits a month:

Assumed consent rateVisits with consent (route A)Visits without consentCookieless reach (route C)
40%8,00012,000up to 20,000
60%12,0008,000up to 20,000
80%16,0004,000up to 20,000

At a rate of 60%, route A is missing four in ten visits in every report that depends on consent, including page views, landing pages and channels. Route C closes that gap for reach, not for personal advertising measurement. 'Up to' is there because cookieless measurement cannot see visitors who block scripts either.

The alternative: measuring reach without storage access

If you use the tag manager mainly for reach measurement, you can ask differently: does this need to store or read anything on the device at all? Section 25(2) no. 2 TDDDG only exempts from consent what is strictly necessary to provide a digital service explicitly requested by the user (Section 25 TDDDG). Statistics are usually not part of that. It is sounder to avoid the access.

The supervisory authorities urge precision here: whether reach measurement without consent is lawful can at most be determined for a precisely defined configuration and purpose (German Data Protection Conference). So document the data collected, where it is processed and the purpose of the measurement. Cookieless does not automatically mean consent-free - the article on measuring returning visitors without cookies shows where the line runs between storage access and the server log.

XICTRAQ® cookieless analytics is designed for this route: reach measurement sets no cookies, stores nothing in the browser and distinguishes visits by a pseudonymous daily identifier; IP addresses are not kept in the visitor statistics. For pure reach measurement, consent under Section 25 TDDDG is therefore usually not required; the case-by-case assessment remains with the operator. Features that need consent, such as session recording, start only after agreement.

Monitor continuously instead of checking once

A clean configuration tips over when a new pixel, an update or a consent gate commented out 'just to test' comes along. There is also a legal consequence that is often overlooked: in the view of the supervisory authorities, every change to the cookies used and third-party services embedded means that new consent must be obtained for the new case (German Data Protection Conference).

The article on monitoring consent tag drift deepens the pattern, and script integrity monitoring fires when a third-party script silently changes its behaviour. Complemented by alerting across multiple channels, the snapshot becomes an early-warning system.

Status November 2026: what changes and what does not

At its core nothing has changed since the ruling. The former TTDSG has been called the Telecommunications Digital Services Data Protection Act, TDDDG for short, since 14 May 2024 (TDDDG status note). 'Telemedia' became 'digital services' in the process; the consent requirement for storing and reading on the device remains unchanged in Section 25 (Section 25 TDDDG).

At EU level negotiations are under way: the Commission's proposal for a so-called Digital Omnibus aimed to move the rules on cookies and similar techniques into the GDPR. On 21 October 2026 the Permanent Representatives Committee agreed the Council of the EU's mandate for negotiations with the European Parliament (Council of the EU). Under it, the rules would stay in the ePrivacy Directive; permitted without consent would be, among other things, the creation of anonymous aggregated information to measure the audience by the provider or on its behalf (Council of the EU). Users should also be able to refuse consent requests with a single click (Council of the EU).

None of this is law. In the European Parliament the procedure is awaiting a decision by the committees responsible (European Parliament), and under the Council text Member States would then have a further 24 months after adoption to transpose it (Council of the EU). Until then, Section 25 TDDDG applies as interpreted by VG Hannover and the supervisory authorities; a container behind the consent gate is right under both legal regimes. Details are in the article on the cookie banner reform 2026.

Uncover pre-consent tracking with XICTRAQ®

After the VG Hannover ruling, the question is no longer whether Google Tag Manager requires consent, but whether your container obeys the rule - anew after every deploy, every new tag and every changed consent configuration. That is why the check belongs in the same toolbox as running cookieless analytics, which works without consent-requiring cookies from the outset.

XICTRAQ® recreates a first visit without consent, records trackers, cookies and third-party requests before the decision, including the gtm.js fetch, and reports deviations. Combined with the GDPR scanner for mandatory pages and pre-consent trackers, you see in one place whether banner, scripts and data flows fit together. Anyone looking for a privacy-friendly analytics alternative instead of a tracker usually sidesteps the consent problem for reach measurement at its root.

Start with the free test and check what your homepage really loads on the first visit. Or see in a personal demo how pre-consent detection and alerting work together day to day.

Note: Sources

This article draws on: VG Hannover, judgment of 19 March 2025, case 10 A 5385/22; Sections 25, 28 and 29 TDDDG and the status notes of the act; Articles 7 and 83 GDPR; Commission decision of 10 July 2023 on the EU-US Data Privacy Framework; European Data Protection Board, Guidelines 2/2023, version 2.0 of 7 October 2024; German Data Protection Conference, guidance on digital services 1.2; Google developer documentation; W3Techs; HTTP Archive Web Almanac 2025; Council of the EU, negotiating mandate of 22 October 2026; procedure file 2025/0360 of the European Parliament. Legal statements are no substitute for legal advice.

Does Google Tag Manager really need consent?
According to the VG Hannover judgment of 19 March 2025, using Google Tag Manager requires consent under Section 25(1) TDDDG and Article 6(1)(a) GDPR (VG Hannover, 19 Mar 2025). What mattered was that on the first visit gtm.js was stored on the device and data was sent to Google. The official publication does not state that the judgment is final.
Which measurement is possible without consent?
As a rule, measurement that neither stores anything on the device nor reads anything stored there. The supervisory authorities stress that the lawfulness of reach measurement without consent can at most be determined for a precisely defined configuration and purpose (German Data Protection Conference). Advertising and conversion tags still need consent.
How high can the fine be?
Access without consent fulfils Section 28(1) no. 13 TDDDG and can be fined up to 300,000 euros (Section 28 TDDDG). For unlawful processing of personal data, the GDPR range extends to 20 million euros or 4% of annual turnover, whichever is higher (Article 83 GDPR) - so below 500 million euros of annual turnover, up to 20 million euros.
Is Google consent mode enough to solve the problem?
Usually not on its own. In advanced mode, Google tags load when the page is opened and, if consent is denied, send measurements without cookies (Google developer documentation); in basic mode the tags stay blocked until the user interacts with the banner (Google developer documentation). Whether the container itself loads before the click only shows up in the Network tab.
How can I tell whether my container loads before consent?
Open the page in a private window with the Network tab, 'Preserve log' and 'Disable cache', without touching the banner. If a row gtm.js with status 200 appears under the filter googletagmanager, the container loaded before the decision. XICTRAQ® also recreates this first visit automatically.
Does the cookie banner need a 'reject' button on the first layer?
VG Hannover expressly left that question open and only decided that a design which, taken as a whole, deliberately steers users towards consent does not support freely given consent (VG Hannover, 19 Mar 2025). The supervisory authorities require a reject option on the first layer at least when users have to interact with the banner to keep using the page (German Data Protection Conference). The Council's negotiating mandate also provides for refusal with a single click (Council of the EU).

Related in XICTRAQ®

First scan usually in under a minute

Let XICTRAQ® watch your website.

Free plan with no fixed term available. No credit card, no installation, no hidden fees.