Add current version of Google Analytics code, Global Site Tag (gtag.js). (#9131)

This commit is contained in:
Andrew Chen
2018-07-13 10:34:26 -07:00
committed by k8s-ci-robot
parent ad6e65d6c3
commit 13bc6ffd22
2 changed files with 9 additions and 7 deletions
+9
View File
@@ -1,3 +1,12 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36037335-10"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-36037335-10');
</script>
<meta charset="utf-8">
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">