Why is my consent banner completely blocking Google Tag Manager?
If your consent banner completely blocking Google Tag Manager, you are losing all tracking data. This problem frequently arises when the cookie banner classifies the GTM as a tracking script and blocks it entirely. However, the GTM itself is not a tracking tool but rather a container that only collects data through its tags.
Many cookie plugins work with a blocklist that contains all known tracking domains. In this process, googletagmanager.com is frequently blocked as well. Consequently, your consent banner completely blocks Google Tag Manager, even though it merely functions as a container. Moreover, an overly strict script-blocking configuration can prevent even the consent default code from executing. More information can be found in our FAQ on cookie plugin problems.
The solution is to always allow the GTM to load and instead control individual tags through Consent Mode. As a result, your consent banner no longer blocks Google Tag Manager. For this, you need to whitelist the GTM in your CMP. Subsequently, the Consent Mode takes over tag control. Google explains this approach in the Google Tag Manager consent setup.
We recommend removing the GTM from your cookie plugin’s blocklist entirely. Instead, tag control should be handled exclusively through Consent Mode. Furthermore, it is important to test after the change that all tags correctly respond to consent signals. This way, you ensure your tracking works in a GDPR-compliant manner.
In summary, the GTM should never be completely blocked. Instead, Consent Mode intelligently controls individual tags. Contact us for the right GTM configuration.
Our Google-certified experts are happy to help – free and without obligation.
Book a meetingWe review your consent management and tracking setup for GDPR compliance – free and without obligation.
Check your compliance