gtags only in production

pull/34251/head
Daniel Radetsky 2022-06-13 11:47:41 -07:00
parent 4fecd324ca
commit 631d1eb778
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
{{- else -}}
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
{{- end -}}
{{- if ne hugo.Environment "local" -}}
{{- if eq hugo.Environment "production" -}}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36037335-10"></script>
<script>