0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Don't run Google Analytics locally. (#28384)

This commit is contained in:
Christian Oliff 2019-03-13 20:13:30 +09:00 committed by XhmikosR
parent 28ad7a901e
commit 02e0aa3b60

View File

@ -1,6 +1,8 @@
{{- if not .Site.IsServer -}}
<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');
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
{{- end -}}