mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-30 00:18:32 +02:00
Gather utm params and add to outbound product links (#1336)
* gather utm params and add to outbound product links * segment needs testing across all environments, not just in production * campaign => content * adding two more ids * sessionStorage for gtm params and cleanup * move newParams conditional * move addUTMToLinks() to helpers file
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
{{ end }}
|
||||
|
||||
<!--Segment-->
|
||||
{{ 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" }}
|
||||
<script src="{{ $segmentJs.RelPermalink }}?v=eu"></script>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user