christian70
Forum Replies Created
-
Any update about that? The thread is marked as resolved but is it for real? I wonder that because along with GA4 focus on GDPR is getting more and more essential.
Sorry but this is not an option: if I exclude “moove_gdpr_popup” cookie from caching, all pages and all posts, the whole content of the site is not cached. So there’s no sense in using a cache plugin. Ajax is the only solution working for me.
The point is that the values of
gdpr_consent__thirdparty
orgdpr_consent__cookies
are cached. So they are useless in order to print different content according to them. The only way I found is to get directly the values of the cookiemoove_gdpr_popup
that is updated via Ajax.Do you mean:
$(document).ready(function(){ if (gdpr_consent__thirdparty = true) { do something... } });
?
Because it doesn’t work, it can’t read the correct value if I change my cookies choice and reload the page.- This reply was modified 2 years, 9 months ago by christian70.
Ok I realized that WP Rocket Cache gives the possibility to create different cached versions of the same pages according to the value of a cookie. This is a solution.
Another one could be to use Ajax in order to load different template parts according to the value of moove_gdpr_popup cookie. About that, how to ckeck if third-party cookies have been accepted in JS?
I saw Javascript consent variables in documentation but I didn’t understand how to use them…
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache not workingOk thanks a lot.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache not workingI apoligize, maybe it depends on my browser but I continue to see:
!-- Page uncached by LiteSpeed Cache 4.6 on 2022-06-03 08:53:00 --> <!-- X-LiteSpeed-Cache-Control: no-cache -->
at the bottom of my pages.
I also checked: check.lscache.io
LS is just supported, from time to time LiteSpeed cache is a hit. Quite weird.Forum: Plugins
In reply to: [Cookie Notice & Consent] WPML compatibleYes man! Now it works perfectly.
Thanks a lot.Forum: Plugins
In reply to: [Cookie Notice & Consent] WPML compatibleWell, all strings are not translated at all. I mean: they appear ready for translation in the WPML backend, but in the frontend they do not change according to the current language. The text strings I write in the plugin settings are stuck in the banner no matter what language I use. Quite weird.
Forum: Plugins
In reply to: [Cookie Notice & Consent] Feature request: Close buttonPerfect.
Forum: Plugins
In reply to: [Cookie Notice & Consent] Feature request: Close buttonHi,
according to the Law, I think that the X close button should have the same function as ‘Accept only necessary cookies (with or without consent)’ more than ‘Refuse’ option. Refuse all cookies is not possible (and not necessary for essential cookies).Thanks.
Forum: Plugins
In reply to: [Cookie Notice & Consent] Revoke alertYes, I’m testing the second way with two-lines of JQuery to remove the class by clicking on ‘Change my cooking choice’ link.
Thank you.Forum: Plugins
In reply to: [Cookie Notice & Consent] Revoke alertI see, auto blocking may be very useful. In my case I prefer to block code by myself in order to show something specific at blocked content’s place (for example a thumbnail instead of the blocked video).
I’m using Revoke button as you suggested, and this is why I asked you if it’d be possibile to stop JS alert on browser and just let the banner show up again.Forum: Plugins
In reply to: [Cookie Notice & Consent] Consent storageHi, thank you for your kind and quick reply.
I’m a bit confused: are consents really treated as CPT? I thought there are stored in a different table. Or in a log file. Because now I ask you: in case of thousands of visits a month, have you idea if it effects negatively on site’s performance? Thousands of consents among posts, pages, and other content CPT…As for IP anonymization I was just curious on your opinion, no legal statements required hihihi. Thank you anyway.
Forum: Plugins
In reply to: [Cookie Notice & Consent] Revoke alertOk I understand. I just wonder if there’s a shortcode also to show banner again: if I need to block some content (i.e. embedded videos) before all cookies are accepted, it’d better to show placeholder with info text and a link or button to change cookies choice in order to show all content then.