소스 검색

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