-
Hello, I downloaded the complete packages v 2.6 and 3.0, followed the instructions, put all necessary css and js files into the same directory on a web server, adjusted paths in index.html - and I stil do not see any consent events in GTM debug view . is that normal? I expected that upon confirming my cookie choices the script behind the banner will send consents events to datalayer where they would be grabbed by GTM console. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
There are no services pre configured with the plugin. You need to manually set up GTM. |
Beta Was this translation helpful? Give feedback.
-
tried your hint with JS on-page script and it still does not work as intended. What am I doing wrong? ` ---- BELOW DOES NOT send a %!@ to GTM datalayer - no consent granted <script type="text/plain" data-category="ads" data-service="Google Ads"> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('consent', 'update', { ad_storage: 'granted' }); console.log("gtag: ad_storage=granted"); </script>` |
Beta Was this translation helpful? Give feedback.
Yes, this plugin is merely a skeleton. It does not implement any kind of service, but gives you the tools to easily set them up. You need to have basic knowledge of javascript to comfortably use the plugin.
Here is an example config. of GTM with google consent mode v2.