Aller au contenu

MergeAttributionInput

Ce contenu n’est pas encore disponible dans votre langue.

MergeAttributionInput = { defaults?: AttributionDefaults; perCall: AttributionParams | null | undefined; productUtmContent?: string; }

Defined in: context/mergeAttribution.ts:6

Inputs for mergeAttribution.

optional defaults?: AttributionDefaults

Defined in: context/mergeAttribution.ts:19

Pre-merged merchant-level defaults (backend config > SDK static config). utm_content is intentionally absent from this shape.


perCall: AttributionParams | null | undefined

Defined in: context/mergeAttribution.ts:14

Per-call attribution override passed to actions like displaySharingPage.

  • null explicitly disables attribution (no UTM/ref/via params are added).
  • undefined means “no per-call override” — defaults apply if present.
  • An object (including {}) merges field-by-field with defaults.

optional productUtmContent?: string

Defined in: context/mergeAttribution.ts:24

Per-product utm_content override (from the currently selected SharingPageProduct). Takes precedence over perCall.utmContent.