Hello,
Can someone inform me, if the below steps are correct, in order to block google tracking in case the user presses the refuse button?
1. Check the “Refuse consent” checkbox
2. Place the below code inside the box “Script blocking”
if(!cn_cookies_accepted()){
window['ga-disable-UA-XXXXXX-1'] = true;
}
where UA-XXXXXX-1 is my google analytics id.
Thanks a lot!