• Hi. I have been reading about samesite cookies and that 3rd party cookies will be blocked if not defined. F.eks “Secure” or “lax”

    I am totally blank in this. All i do is to install plugins like Pixel, Youtube, Analytics and expect it to work

    However when i get this error message that 3rd party cookies will be blocked i need to fix it.

    I just dont know as the cookies are comming from plugins(youtube,pixel,etc), can I do this, or is it the developers.

    F.eks i have a cookie:
    Facebook.com
    Name: datr
    Content:9BYLZVbflMTg9OGkzQvwBBlz
    Domain..facebook.com

    My question is: Where do i add a statement like:”SameSite=Secure” and for the plugin above what would be the code to add?

    Can anyone point me in the right direction please ?

    Thanks in advance

    Kind Regards

    Morten

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter karuny

    (@karuny)

    Hi Again

    Now i have installed Cookieyes
    I can see in the control panel that I can edit cookie

    I want to add the statement but i dont know if its a script or what type of code.
    Of course i can not just add a line like:

    SameSite=Strict;

    See link here to how i see it.

    Any guide on how to add a code like this to any cookie using an editor like the one attached.

    Thanks again
    Regards

    Morten

    Thread Starter karuny

    (@karuny)

    I asked ChatGPT how to add the attirbute.

    They suggested PHP:

    setcookie(“cookiename”, “cookievalue”, [“samesite” => “Strict”]);

    I wrote the name and value of all my cookies.

    I added the lines to wp-config.php file and it works

    Morten

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Same Site cookie issue. What do I do’ is closed to new replies.