use ga4 script

This commit is contained in:
Raymond Ho 2021-05-24 16:22:24 -07:00
parent 988c731a57
commit 594c6d13ff

View File

@ -34,7 +34,7 @@
{{- template "_internal/twitter_cards.html" . -}} {{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics.html" . }}
{{ end }} {{ end }}
{{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }} {{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }}
</head> </head>