diff options
| author | Mark Otto <[email protected]> | 2019-03-13 20:51:25 -0700 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-27 20:57:28 +0200 |
| commit | e34ba3532fa2ed6d2cf8cc9bc680659ec163b2fc (patch) | |
| tree | e218f1f1739636ba481b4a8ab27898c2de7b00a3 | |
| parent | 72a1437dae345b1bb3b31f3fd93fc40eed86e122 (diff) | |
| download | bootstrap-e34ba3532fa2ed6d2cf8cc9bc680659ec163b2fc.tar.xz bootstrap-e34ba3532fa2ed6d2cf8cc9bc680659ec163b2fc.zip | |
Update GA to latest script & anonymize IPs
| -rw-r--r-- | site/_includes/analytics.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/site/_includes/analytics.html b/site/_includes/analytics.html index eeb57f903..12338bfc6 100644 --- a/site/_includes/analytics.html +++ b/site/_includes/analytics.html @@ -1,6 +1,7 @@ +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-146052-10"></script> <script> - window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; - ga('create', 'UA-146052-10', 'getbootstrap.com'); - ga('send', 'pageview'); + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', 'UA-146052-10', { 'anonymize_ip': true }); </script> -<script async src="https://www.google-analytics.com/analytics.js"></script> |
