
Sehr geehrte POWERGAP Kunden,
aufgrund aktueller Hinweise zu "Verwendung von Google Analytics ohne Opt-Out Cookie" haben wir bei Nutzung von www.powergap.de/Google-Analytics-Universal-Tracking.html unseren Standard-Code um folgendes Script erweitert:
Jetzt müssen Sie noch handeln und z.B. im Footer des Shops folgenden Link ergänzen:
oder besser noch mit JavaScript-Alert:
Mit Klick auf diesen Link wird ein Cookie gesetzt und Google Analytics beim Kunden deaktiviert!
Siehe auch: https://developers.google.com/analytics/devguides/collection/gajs/?hl=de#disable
Sollten Sie Fragen zur Einbindung haben bitte einfach melden!
aufgrund aktueller Hinweise zu "Verwendung von Google Analytics ohne Opt-Out Cookie" haben wir bei Nutzung von www.powergap.de/Google-Analytics-Universal-Tracking.html unseren Standard-Code um folgendes Script erweitert:
<script>
// Set to the same value as the web property used on the site
var gaProperty = 'UA-XXXX-Y';
// Disable tracking if the opt-out cookie exists.
var disableStr = 'ga-disable-' + gaProperty;
if (document.cookie.indexOf(disableStr + '=true') > -1) {
window[disableStr] = true;
}
// Opt-out function
function gaOptout() {
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = true;
}
</script>
// Set to the same value as the web property used on the site
var gaProperty = 'UA-XXXX-Y';
// Disable tracking if the opt-out cookie exists.
var disableStr = 'ga-disable-' + gaProperty;
if (document.cookie.indexOf(disableStr + '=true') > -1) {
window[disableStr] = true;
}
// Opt-out function
function gaOptout() {
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = true;
}
</script>
Jetzt müssen Sie noch handeln und z.B. im Footer des Shops folgenden Link ergänzen:
<a href="javascript:gaOptout()">Google Analytics deaktivieren</a>
oder besser noch mit JavaScript-Alert:
<a onclick="alert('Google Analytics wurde deaktiviert');" href="javascript:gaOptout()">Google Analytics deaktivieren</a>
Mit Klick auf diesen Link wird ein Cookie gesetzt und Google Analytics beim Kunden deaktiviert!
Siehe auch: https://developers.google.com/analytics/devguides/collection/gajs/?hl=de#disable
Sollten Sie Fragen zur Einbindung haben bitte einfach melden!