• A location.reload(true); would be nice to have in the gaOptout function to set the Cookie immediately.

    function gaOptout() {
    var expDate = new Date;
    expDate.setFullYear(expDate.getFullYear( ) + 10);
    document.cookie = disableStr + ‘=true; expires=’ + expDate.toGMTString( ) + ‘; path=/’;
    window[disableStr] = true;
    location.reload(true);
    }

  • The topic ‘Reload Page after Opt-out’ is closed to new replies.