aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/_includes/analytics.html9
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>