function setOptOut() { setCookie('ga-disable-UA-19663770-8', true) alert("Google Analytics wurde deaktiviert"); window.location.reload(false); }