0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Update GA to latest script & anonymize IPs

This commit is contained in:
Mark Otto 2019-03-13 20:51:25 -07:00 committed by XhmikosR
parent 5e459e9b52
commit 2017eb9aed

View File

@ -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>