MarketingContext
A GlobalContext describing the marketing channel & campaign from where the user came.
graph LR
AbstractContext["AbstractContext<span class='properties'>id: string<br /></span>"] --> AbstractGlobalContext;
AbstractGlobalContext --> MarketingContext["MarketingContext<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<br /></span>"];
class MarketingContext diagramActive
click AbstractGlobalContext "/docs/taxonomy/global-contexts" "See details" _self
Diagram: MarketingContext inheritance
Properties
| type | description | |
|---|---|---|
| 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 [optional] | string | Search keywords. |
| content [optional] | string | To differentiate similar content, or links within the same ad. |
| source_platform [optional] | string | Identifies the platform where the marketing activity was undertaken. |
| creative_format [optional] | string | Identifies the creative used (e.g., skyscraper, banner, etc). |
| marketing_tactic [optional] | string | Identifies the marketing tactic used (e.g., onboarding, retention, acquisition etc). |
Inherited Properties
| type | description | |
|---|---|---|
| id | string | A unique string identifier to be combined with the Context Type (_type) for Context instance uniqueness. |
setting of the properties
The backend will automatically set all the properties based on the UTM parameters in the PathContext.