MarketingContext
Describing the marketing channel & campaign from where the user came.
graph LR
AbstractContext["AbstractContext<br /><span class='properties'>id: string<br />_type: string</span>"] --> AbstractGlobalContext;
AbstractGlobalContext --> MarketingContext["MarketingContext<br />
<span class='properties'>
source: string<br />
medium: string<br />
campaign: string<br />
term?: string<br />
content?: string<br />
source_platform?: string<br />
creative_format?: string<br />
marketing_tactic?: string
</span>"];
class MarketingContext diagramActive;
click AbstractGlobalContext "/docs/taxonomy/global-contexts" "See details" _self
Diagram: MarketingContext inheritance
Properties
type | description | |
---|---|---|
id | string | Unique string to be combined with the Context Type (_type ) for Context instance uniqueness. |
_type | string | String literal used during serialization. Should always match the Context interface name. |
source | string | The advertiser, site, publication, etc. |
medium | string | Advertising or marketing medium: cpc, banner, email newsletter, etc. |
campaign | string | Campaign name, slogan, promo code, etc. |
term | string | [optional] Search keywords. |
content | string | [optional] To differentiate similar content, or links within the same ad. |
source_platform | string | [optional] Identifies the platform where the marketing activity was undertaken. |
creative_format | string | [optional] Identifies the creative used (e.g., skyscraper, banner, etc). |
marketing_tactic | string | [optional] Identifies the marketing tactic used (e.g., onboarding, retention, acquisition etc). |
setting of the properties
The backend will automatically set all the properties based on the UTM parameters in the PathContext.