CookieConsent cookie removed upon logging out
I've deployed Cookiebot via GTM to a Wordpress site. Something weird is happening and I'm not sure if this is an expected behavior or not.
Here's what happened:
- Visiting the site as a fresh user (via incognito) and I see the consent banner
- I accepted the consent and verified in the browser dev console that the CookieConsent cookie is created and stamped with the necessary information.
- I then logged into my website and the CookieConsent stamped cookie was still there.
- I logged out of my site and noticed that the CookieConsent stamped cookie is gone in the browser console.
Question: Why is the CookieConsent cookie getting deleted upon site log out?
0
-
Hey Al Lee,
I need to check this first, could you send me your domain here or at m.ivanov@vconnect.dk so i can investigate it and see what might went wrong .
Regards,
Martin0 -
Hi, this was a non-issue. The site's logout script was destroying all domain related cookies. I added an exception for CookieConsent.
0
Please sign in to leave a comment.
Comments
2 comments