Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2019-03-14 06:51:25 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-18 13:26:50 +0300
commit2017eb9aedc4fad947b865e439521116262ff18a (patch)
treecefbf10ac54d4e8b5f25b95a6d1197091e5d7d3d /site
parent5e459e9b52bf333e420361b8f31b8206d389bd2c (diff)
Update GA to latest script & anonymize IPs
Diffstat (limited to 'site')
-rw-r--r--site/layouts/partials/analytics.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/site/layouts/partials/analytics.html b/site/layouts/partials/analytics.html
index eeb57f9039..12338bfc6e 100644
--- a/site/layouts/partials/analytics.html
+++ b/site/layouts/partials/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>