Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

GDPR Cookie popup issue

#3238
Avatar photo[anonymous]

Hi Ben,

I have tried to follow the docs, but could not get the cookie disabled which led me to my post. Let me try explain a bit better

Inside Custom HTML => Head:  I have the Google Analytics script

<script async src="https://www.googletagmanager.com/..."></script>
<script `type="{{ gdprScriptBlocker "analytical"}}"`> //Google analytics code here </script>

Within my index.hbs file I am including {{{ publiiFooter }}} before the closing </body> tag of the page to allow for GDPR cookie handling.

When I inspect the site, the Google Analytics cookie is still present regardless of whether the proper checkbox is selected or not.

Hope this explains it a bit better.