forked from ZwiiCMS-Team/ZwiiCMS
gtag anonymous
This commit is contained in:
parent
94e65e92aa
commit
311deabfb4
@ -3,6 +3,7 @@
|
||||
## Version 10.3.13
|
||||
Modification :
|
||||
- Verouillage des fichiers de données ouverts en écriture.
|
||||
- Google Analytics, option d'anonymisation.
|
||||
|
||||
## Version 10.3.12
|
||||
Correction :
|
||||
|
@ -2205,7 +2205,7 @@ class layout extends common {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag("js", new Date());
|
||||
gtag("config","'. $code .'");
|
||||
gtag("config","'. $code .'",{ "anonymize_ip": true });
|
||||
</script>';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user