diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html index d3584da1275691c1a98508021efd8be15fedca13..da268d439149d66550ae274b63bebe8cac9522f9 100644 --- a/layouts/partials/custom-head.html +++ b/layouts/partials/custom-head.html @@ -1,4 +1,13 @@ <link rel="stylesheet" href="/css/custom.css"> <link href="//cloud.typography.com/7717652/616662/css/fonts.css" type="text/css" rel="stylesheet"> +<!-- Global site tag (gtag.js) - Google Analytics --> +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36141757-1"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-36141757-1'); +</script> {{ if isset .Params "scripts" }}{{ range .Params.scripts }}<script src="{{ printf "%s" . }}"></script>{{ end }}{{ end }} {{ if isset .Params "css" }}{{ range .Params.css }}<link rel="stylesheet" href="{{ printf "%s" . }}">{{ end }}{{ end }}