• Resolved francescom81

    (@francescom81)


    Hi Marco,
    thank you so much for this plugin.

    I’m having some issues with Google Analytics cookie, I checked the option to block the iFrames and the scripts before the user clicks on the accept button (or scrolls the page, if enabled) and it works: opening the homepage, no GA cookie is received. scrolling or opening another page, the cookie is received.

    By the Italian (maybe also European) law, a link to get more info about the cookie policy must be provided. Here is the problem:

    Opening the homepage, no GA cookie is received. Clicking on the “more info” button, the policy page should be accessible and scrollable without receiving cookies. Unfortunately it doesn’t happen, so in this case the user receives the GA cookie while he was just trying to read more info about it.

    Thank you for your precious help

    https://www.ads-software.com/plugins/eu-cookie-law/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Good question

    Good question. Our solution is the IP Anonymization in Google Analytics.
    In this way, there are no problem if the cookie is received when the users visit the Cookie Law policy.

    Here the last news from the authority:
    https://194.242.234.211/documents/10160/0/Infografica+cookie+e+privacy+-+cosa+devi+fare

    What do you think?

    Thanks!!

    Plugin Author Marco Milesi

    (@milmor)

    Hi everyone,
    first of all, please note that the cookie block is only done (at least for the moment) for pages, posts and widgets only. If you use Google Analytics in the template you should wrap it manually with our php functions (check faqs).

    The plugin unlocks blocked code only if the consent is given by clicking “Accept” or with scrolling if you have this option enabled. So, in this second case, are you asking to remove scrolling on the cookie page info? This could be ok (and great), but if the user scrolls on the homepage before going to that page, it would be considered again as a cookie consent.

    As regards IP Anonymization, i’m not sure it’s law-compatible (but i actually use it). I think that Google should provide more information on how they treat anonymized data we sent them.

    Hi Marco,
    thank you very much for your reply!
    It would be perfect to remove scrolling on the cookie law policy page!
    If the user scrolls on the homepage it means that he is happy to continue and accept cookie (and maybe he doens’t want to visit the cookie page info to know more).

    About Google, we agree with you…Google should provide more information, just to be sure that IP Anonymization comply the law.

    Thanks!!

    Thread Starter francescom81

    (@francescom81)

    Thank you Marco and EnFi.

    Actually I was using the Auto_block beta option, and it works: the pages with a youtube video (inserted automatically by WP, just copying and pasting the link into an article) are blocked.
    Regarding Google Analytics, I’m using an option available from my theme, that let me insert the <script> GA_code </script> directly in the theme settings, and with auto_block option it works! No GA cookies, until I scroll (if enabled) or I click on a link and change page, any page, not only the “more info”.

    At this point I think I’ll try to hook the header or footer in the function.php and add your code, I’m not an expert, but I was thinking to write something like:

    function manage_GA(){
    if ( function_exists(‘cookie_accepted’) && cookie_accepted() ) {
    echo ‘<script>GA_code</script>’;
    }
    }
    add_action( ‘wp_footer’, ‘manage_GA’ );

    Do you think it could work?

    Thank you!
    Francesco

    Plugin Author Marco Milesi

    (@milmor)

    We’ve added “Continue Navigation” as cookie acceptance and added an exception for the cookie page (for both “Scrolling Consent” and “Continue Navigation Consent”).

    @francescom81 yes, it should work ?? You could consider to anonymize it too using functions provided by Google.

    Thread Starter francescom81

    (@francescom81)

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Google analytics unlocks clicking "more info" button’ is closed to new replies.