Sign in

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.