• Hi,

    I wanted to know if it was possible to deposit cookies (_ga, _gat, _gid, …) only after acceptance by the user of cookies?

    If so, how to do (function, filter, hook, …)?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Exactement !

    In fact, I would like to disable the automatic deposit of cookies and launch it manually with a function.

    • This reply was modified 1 year, 3 months ago by  meneldil.

    I understand, I’m not a coder, I can’t tell you how to do it.
    Sorry but thes codes are in the post.

    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    ga(‘create’, ‘UA-XXXXX-X’, ‘auto’);
    ga(‘send’, ‘pageview’);

    Otherwise you can not prevent access to your site, for non acceptance of cookies
    CNIL says:
    Le consentement ne peut être valable que si la personne concernée est en mesure d’exercer valablement son choix et n’est pas exposée à des conséquences négatives importantes si elle refuse de donner son consentement. La personne qui refuse un cookie nécessitant un consentement doit pouvoir continuer à bénéficier du service (l’accès à un site internet par exemple).

    PS: You are not the person who was looking for, a delete the attached file page on wordpress-fr.net?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Acceptance of cookies’ is closed to new replies.