mirror of
https://github.com/foomo/sesamy-cli.git
synced 2026-12-03 18:51:43 +00:00
Add the ability to specify custom template paths for various providers (e.g., Pinterest, Facebook, Umami, and more). Includes logic for resolving and provisioning templates, defaulting to embedded ones when not specified. Updated related documentation.
1.3 KiB
1.3 KiB
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
utm:
enabled: true
templates:
attributionVariable: ''
cookieWriterTag: ''
googleConsent:
enabled: true
mode: ad_storage
| Field | Purpose |
|---|---|
googleConsent.mode |
Defaults to ad_storage. |
templates.attributionVariable |
Path to a custom attribution variable template file. Empty (default) provisions the embedded template. |
templates.cookieWriterTag |
Path to a custom cookie writer tag template file. Empty (default) provisions the embedded template. |
What gets provisioned
| Entity | Name |
|---|---|
| Variable template | UTM Attribution |
| Variable | UTM Attribution |
| Tag template | UTM Attribution Cookie Writer |
| Trigger | UTM Attribution Cookie (all events) |
| Tag | UTM 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.