Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #961387

    Hi there, I’m trying to make sure I’m GDPR compliant ASAP. I’m using a service called CookieBot and Steps 1 and 2 are straightforward. Here’s where I’m having trouble… I have absolutely no idea what to do with this.

    Step 3
    To enable prior consent, apply the attribute “data-cookieconsent” to cookie-setting script tags on your website. Set the comma-separated value to one or more of the cookie categories “preferences”, “statistics” and “marketing” in accordance with the types of cookies being set by each script. Finally change the attribute “type” from “text/javascript” to “text/plain”. Example on modifying an existing Google Analytics Universal script tag:

    <script type=”text/plain” data-cookieconsent=”statistics”>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);
    ga(‘create’, ‘UA-00000000-0’, ‘auto’);
    ga(‘send’, ‘pageview’);
    </script>

    If your website is loading scripts dynamically, use the functions of the Cookiebot API for full control.

    Is this something I place within functions.php like the other code or what? Thanks a bunch for your help!

    #961481

    Hey Mdmoisell,

    Cookiebot is a third-party service. However, you can enter the js script in Enfold > Google Services

    If you have an issue configuring the script please refer the cookie documentation or check with the support.

    For more info please check the below links

    https://moz.com/blog/gdpr-and-online-marketing

    Best regards,
    Vinay

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.