Consent status cookie shows console warnings
-
Hi,
I was looking at errors and warnings for my site, and I saw a console warning that the
cookieconsent_status
cookie that the plugin uses to record whether the user has consented to analytics tracking may soon be blocked by web browsers because the cookie’s attributes are set to SameSite=None and Secure=No, which the standards no longer permit for security reasons.The Mozilla documentation (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite) says that if Secure is set to “No,” SameSite cannot be “None” — it should be set to either “Lax” (which probably makes the most sense for GAG) or “Strict” to ensure the cookie isn’t blocked by browsers.
Is there a way you could update the plugin so that the
cookieconsent_status
cookie no longer creates this error? It seems like setting the cookie’s attributes to Secure=No and SameSite=Lax might be the best solution in this case.Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Consent status cookie shows console warnings’ is closed to new replies.