diff --git a/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html b/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html index 3226b3609..c92d332ff 100644 --- a/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html +++ b/qdrant-landing/themes/qdrant-2024/layouts/partials/js-head.html @@ -37,7 +37,7 @@ {{ end }} -{{ if and hugo.IsProduction .Site.Params.segmentWriteKey }} +{{ if .Site.Params.segmentWriteKey }} {{ $segmentJs := resources.Get "js/segment-setup.js" | js.Build (dict "params" (dict "segmentWriteKey" .Site.Params.segmentWriteKey "gaMeasurementId" .Site.GoogleAnalytics)) | minify | resources.Fingerprint "sha512" }} {{ end }}