Merge pull request #762 from SBNTT/multiplegtag-anonymizeip

add anonymize_ip to multiplegtag service
This commit is contained in:
Amauri CHAMPEAUX 2021-08-14 16:14:49 +02:00 committed by GitHub
commit 6457ffa42f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3771,7 +3771,7 @@ tarteaucitron.services.multiplegtag = {
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
window.gtag = function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', ua);
gtag('config', ua, { 'anonymize_ip': true });
});
});
}