diff --git a/wowchemy/layouts/partials/marketing/microsoft_clarity.html b/wowchemy/layouts/partials/marketing/microsoft_clarity.html new file mode 100644 index 00000000..764efea8 --- /dev/null +++ b/wowchemy/layouts/partials/marketing/microsoft_clarity.html @@ -0,0 +1,9 @@ +{{ if (in (slice (getenv "HUGO_ENV") hugo.Environment) "production") | and site.Params.marketing.microsoft_clarity }} + +{{ end }} diff --git a/wowchemy/layouts/partials/site_head.html b/wowchemy/layouts/partials/site_head.html index c27351a2..188441a1 100644 --- a/wowchemy/layouts/partials/site_head.html +++ b/wowchemy/layouts/partials/site_head.html @@ -158,6 +158,7 @@ {{ partial "marketing/google_analytics" . }} {{ partial "marketing/google_tag_manager" . }} + {{ partial "marketing/microsoft_clarity" . }} {{/* Netlify Identity integration. */}} {{ if .IsHome | and (site.Params.cms.netlify_cms | default false) }}