I’ve just tried to finish setting up the plugin when I realised that cookies consents work exactly the opposite way than intended or I’m missing something.
I put Google Analytics blocking code in consent code area, it looks like this:
window['ga-disable-UA-XXXXXXXX-X'] = true; // tested and works properly
I need to mention I havent’t changed the CSS to consent switch, it’s grren/black.
So when I flip the switch to green to give a consent for GA to run the above code is being fired blocking GA. When I don’t give a consent for GA leaving the switch as is – black – nothing happens, GA works undisturbed.
To me it the way consents work should be exactly the opposite, when I give the consent for GA (green switch) it should carry on working, when I don’t give a consent (black switch) it should be blocked.
Best regards, Dan.
PS, I’ve done little more testing and all cookies on the site work normally when the cookie bar pops up. Shouldn’t they be completely blocked before any consent is given by the site visitor?
- The topic ‘The plugin consents works opposite way than intended?’ is closed to new replies.