Cookie Declaration not displaying correctly
-
When logged in WordPress, everything is fine, but in incognito, the Cooke Declaration is loaded after the footer in the DOM.
I tried wrapping the script in a section like this :
<section class=”cookie-bot-section”><script id=”CookieDeclaration” src=”https://consent.cookiebot.com/xxxxxxxxxxxxxxxxx/cd.js” type=”text/javascript”></script></section>
But it does not work.
I also tried adding it in a separate WP page template file but the result is the same. How can I make sure that the cookie declaration will be loaded in a sepific html tag ?Logged in WordPress, displaying fine : https://paste.pics/f3312052edc720c8064c55b2e62740d8
Not logged in, declaration appears after the footer : https://paste.pics/73c0c47876af57355487e54600b1b46eThe page I need help with: [log in to see the link]
The topic ‘Cookie Declaration not displaying correctly’ is closed to new replies.