Skip to content

UTM ​

UTM attribution for the server container. Persists the incoming UTM parameters in a cookie and exposes them as a variable other providers can consume.

Configuration ​

yaml
utm:
  enabled: true
  templates:
    attributionVariable: ''
    cookieWriterTag: ''
  googleConsent:
    enabled: true
    mode: ad_storage
FieldPurpose
googleConsent.modeDefaults to ad_storage.
templates.attributionVariablePath to a custom attribution variable template file. Empty (default) provisions the embedded template.
templates.cookieWriterTagPath to a custom cookie writer tag template file. Empty (default) provisions the embedded template.

What gets provisioned ​

EntityName
Variable templateUTM Attribution
VariableUTM Attribution
Tag templateUTM Attribution Cookie Writer
TriggerUTM Attribution Cookie (all events)
TagUTM Attribution Cookie

The cookie writer tag fires on every event and stores the attribution data; the UTM Attribution variable reads it back.

Dependants ​

Mixpanel track tags send the UTM Attribution variable as the utmAttribution parameter. Enable and provision utm before provisioning Mixpanel, otherwise provisioning fails with a lookup error.