culinary.kemonine.info/themes/hugo-theme-techdoc/layouts/partials/prepend-body.html

11 lines
407 B
HTML
Raw Normal View History

2022-12-03 15:27:03 +00:00
{{ if .Site.IsServer }}
<!-- only production, not generate Google Analytics with Hugos built-in server -->
{{ else }}
{{- with .Site.Params.tag_manager_container_id -}}
<!-- BEGIN: Tag Manager -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ . }}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- END: Tag Manager -->
{{- end -}}
{{- end -}}