var gaProperty = 'UA-119333459-2'; // Disable tracking if the opt-out cookie exists. var disableStr = 'ga-disable-' + gaProperty; if (document.cookie.indexOf(disableStr + '=true') > -1) { window[disableStr] = true; console.log("Google Analytics ist deaktiviert."); } // Opt-out function function gaOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; alert('Tracking by Google Analytics was deactivated in your browser for this website.'); }
Blog2019-10-18T11:56:01+01:00

Blog / News