• Resolved Chaz

    (@eternalskychaz)


    In general, WordPress leaves cookies if a visitor opens an account, makes a comment or otherwise participates in a site. But what f a site is set up so that no one can “interact” with a site, other than to read content? What if no one can sign up, no one can comment on anything and no one can send a message to the site owner except via regular e-mail or click a link that will take them to an item for sale on Amazon? Will WP still leave cookies?

    If so, can this function be disabled?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Chaz,

    If you refer to session cookies, the answer is no. WordPress won’t set any authentication or session cookie for logged out visitors.
    But, keep in mind that session cookies are not the only cookies used and that WordPress core is not the only one setting cookies for your domain: in a normal site you have several plugins, themes, and third party libraries storing cookies on visitors browsers to provide a variety of features.
    A great tool to see this is the browser dev tools (F12 in chrome).
    See this capture for www.remarpro.com landing page https://ibb.co/gZ9R4U
    As you can see, I’m not logged in but I still get some cookies stored. In this case most of them are used for Analytics purposes and set by Google Analytics JS library (you can’t avoid it, except you get rid of the library completely).

    Hope this shed some light.
    Take care!

    Thread Starter Chaz

    (@eternalskychaz)

    @sjaure

    Thank you very much. Upon inspection of the test site I have created for my client, as per your example, Google Chrome shows no cookies of any kind, which is great. If that changes when the real site is built and live, I’ll just nuke the GA JS and be done with it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cookies’ is closed to new replies.