- Issue created by @newaytech
Thanks for the great module - it has helped to get all of my scripts in the right place.
I created a small module of my own - to add a further default consent state (all denied) - as documented here: https://support.cookiebot.com/hc/en-us/articles/360009192739-Google-Tag-...
All seems to render on page as expected - but when using: data-blockingmode="auto" - my scripts seem to get blocked.
I can workaround this by setting data-cookieconsent="ignore" - but I do not want to have to retro tag every library on site with that attribute. Currently - when denied I get a JS console error:
Uncaught ReferenceError: jQuery is not defined
As CookieBot assumes it is dropping non-essential cookies I expect.
At the moment I've set the blocking mode to manual - as all the sensitive scripts are loaded through GTM - which is complying with the consent of the user.
How are others implementing this - does anybody have success of the auto detect feature? I'm running Drupal 10.1.5 Would be nice to revert back to auto though...
Active
1.0
Code