Cookies consent not compatible with cache
-
Hi
For now, the plugin writes a
.seopress-user-consent
HTML element server-side with the button to give consent to cookies usage (before loading Google Analytics snippet for example).If the first user to see a page hasn’t yet given its permission, this page will be stored in cache (using W3 Total Cache but it’d be the same with every cache plugin) as is, so any other user visiting this page after him that will see the consent element, even if he gave its consent.
So the logic for showing or not the element (and loading Google Analytics) should strictly be managed client-side in order to avoid this problem.
It’s pretty important because we can’t be RGPD-compliant for now, or we have to disable all page cache which is not possible neither.
Thanks in advance.
- The topic ‘Cookies consent not compatible with cache’ is closed to new replies.