1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Revert back to the old snippet and just add anonymize IP.

We don't need the extra bloat of gtag.
This commit is contained in:
XhmikosR 2019-03-14 21:14:31 +02:00
parent 2017eb9aed
commit b0f918982f

View file

@ -1,7 +1,7 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-146052-10"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-146052-10', { 'anonymize_ip': true });
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-146052-10', 'getbootstrap.com');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>