• Resolved techniknerd

    (@techniknerd)


    hello i use borlabs cookie for the cookie consent. Will there be the following function at some point: I want the page view to be recorded without a cookie and if the visitor agrees to the cookies, the cookie should be set. Currently you can only decide in your plugin whether you want to use the cookie or not.

    I come from Germany and therefore only speak a little English. I hope you can understand my question.
    best regards
    Daniel

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hello @techniknerd,

    After version 1.0.10 of Koko Analytics you should be able to configure your cookie consent plugin (eg Borlabs Cookie) to print the following HTML only when the user has given consent.

    
    <script>
    window.koko_analytics.use_cookie = true;
    </script>
    

    If you then disable the use of cookies by default in the Koko Analytics settings page then the plugin will only use cookies if the visitor has given consent.

    Hope that helps. If not, let us know please.

    Thread Starter techniknerd

    (@techniknerd)

    Yes works Thank you very much

    Thread Starter techniknerd

    (@techniknerd)

    Hello I have found that after consent, the cookie is only set when the visitor calls another page.

    example:
    Visitor accepts cookies on page 1. (no cookie is set)
    Visitor goes to page 2 or reloads the page (the cookie is set)

    Here is a link to my demo page: demo-techniknerd.de

    Plugin Support Lap

    (@lapzor)

    That’s indeed how it works at this time. The cookie is set on page load, so if at that time cookies aren’t allowed yet it’s not set.

    We will look into a way to improve this.

    Thread Starter techniknerd

    (@techniknerd)

    yes I think you would have to enter the original Koko Cookie script in borlabs. So that the script is reloaded after consent.
    Or am I wrong?

    Plugin Support Lap

    (@lapzor)

    Yes you can reload after consent if you want. It won’t make much difference for the statistics though. The plugin already detects that the visitor is coming from the same-page without the cookie. The only possibility is that someone accepts the cookie notice, then leaves the website without clicking anything and then returns to the same page (from a blank browser tab or different website).

    Hope that helps. If you have any questions, please let me know!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cookie possible with consent?’ is closed to new replies.