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.

I need help to block my 3rd party chatbot if Marketing Cookie is not accepted

  • #11578
    Avatar photo[anonymous]
    • I use the latest Persona Theme

    via Publii under tools and plugins, as mentioned here, I added in my header

    <script type="{{ gdprScriptBlocker "Marketing" }}">
    my bot script code ...
    </script>

    but even when I allow the Marketing in my Cookie, the chatbot doesn’t appear while this works perfectly but not GDPR compliant

    <script>
    my bot script code ...
    </script>

    Where is my issue?

    #11645
    Avatar photo[anonymous]

    Hi!

    Make sure you are editing your site’s theme files with a text editor, and not the “Tools > HTML > Head” section in the GUI.

    Next: When you allow in popup, do you see the cookie banner unblock event in your console (see: https://getpublii.com/dev/prepare-theme-gdpr-compliant/)?

    Does it work if you reload?