浏览代码

add anonymize_ip to multiplegtag service

SBNTT 3 年之前
父节点
当前提交
04f16ce0ac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

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