Support Forum Support Forum GDPR Cookie Compliance How to check on PHP which cookie was accepted by the visitor ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 21, 2022 @ 8:20 pm

    Hello,

    I’m using your WordPress plugin on a website and I would like to know if there is a method to know which cookie was accepted by the visitor ?

    I know that the “gdpr_cookie_is_accepted()” method exist but I don’t find any documentation on what represent the supported types (“strict”, “thirdparty”, “advanced”).

    I just want to know if the matomo cookie (located in advanced cookies on my wordpress plugin dashboard) is enabled on certain pages…

    Thanks in advance.

    Moove Agency
    October 24, 2022 @ 9:20 am

    Hello,

    Thanks for using our plugins.

    Inside of our plugin is a ‘Documentation’ section that lists all available hooks.

    One of them allows you to read which category of the cookie was accepted by the user.

    These variables give you information about which category was accepted (ie. strict, advanced, 3rd party)…it doesn’t tell you which cookie specifically.

    For that you would need to write your own code. Or if you are interested in tracking just a single cookie…you should add that single tracking script that stores this specific cookie into one category so that you know that when that category is accepted by the user, they accepted that specific cookie.

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to check on PHP which cookie was accepted by the visitor ?’ is closed to new replies.