gtag anonymous

This commit is contained in:
fredtempez 2020-12-22 22:15:02 +01:00
parent 94e65e92aa
commit 311deabfb4
2 changed files with 2 additions and 1 deletions

View File

@ -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 :

View File

@ -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>';
}
}