Auto accept and decline cookies
-
Hi Gaspar,
I’m in need to make the third party cookies to be loaded automatically. If I leave it as it is, practically no user enables cookies and Google Analytics is just worthless.
I have tried to use your functions.php script from other threads and it works but with a few big problems:first of all the cookies arent loaded on first page load. Just the moove_gdpr_popup cookie is set and only after the refresh all the scripts are loaded. So if the users opens the page, reads it and exits, my Analytics code will not detect that.
The second problem is that cookie notice at the footer of the page is showing only the first time user loads page too. I think it should be showing till the user accepts or declines cookies. After that just show the settings button.
Third problem is that decline setting doesnt stick. If user opt-out of cookies, the page reloads, the scripts arent loaded, but the moove_gdpr_popup is setup again and after next refresh everything loads again. So probably the cookie should be set to save declined state.
- The topic ‘Auto accept and decline cookies’ is closed to new replies.