Having issues with Google's privacy requirements? Not to worry! Here you will find common questions and issues and how to solve them.
First, remember checking our Getting started guide on Google's requirements.
I installed the tag template and enabled support for IAB TCF v2.2 and Google Additional Consent, but Google ads are still being displayed.
In order to block Google Ads until the user gives the explicit consent, a function called "__tcfapi" must be defined in the browser before the ads get loaded. The illow banner does that for you as soon as the tag is fired in GTM. So if you are still seeing the ads on your website, it means that they are being loaded before the tag is being fired!
Please check that all the triggers in GTM are correctly configured.
If the issue is still happening, you can place the following code snippet at the top of the <head> tag in your HTML.
<!-- IAB Stub --> <script>(function(w,d,t,l,n){w[l]=w[l]||[];w[t]=w[t]||function o(...a){return(a.length>0&&w[l].push(a))||w[l]};function f(){var a=w.frames[n];if(!a){if(d.body){var i=d.createElement('iframe');i.style.cssText='display:none';i.name=n;d.body.appendChild(i)}else{setTimeout(f,5)}}};f();})(window,document,'__tcfapi','__tcfapiQueue','__tcfapiLocator')</script> <!-- End IAB Stub -->
Can't solve your issue yet? Submit a ticket and we'll help you out.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article