@objectiv/schema
Advanced tools
Comparing version 0.0.14 to 0.0.15
{ | ||
"name": "@objectiv/schema", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Objectiv TypeScript implementation of the open taxonomy for analytics", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -86,1 +86,38 @@ /* | ||
} | ||
/** | ||
* a context that captures marketing channel info, so users can do attribution, campaign | ||
* effectiveness and other models | ||
* Inheritance: MarketingContext -> AbstractGlobalContext -> AbstractContext | ||
*/ | ||
export interface MarketingContext extends AbstractGlobalContext { | ||
/** | ||
* Typescript discriminator | ||
*/ | ||
readonly _type: 'MarketingContext'; | ||
/** | ||
* Identifies the advertiser, site, publication, etc | ||
*/ | ||
source: string; | ||
/** | ||
* Advertising or marketing medium: cpc, banner, email newsletter, etc | ||
*/ | ||
medium: string; | ||
/** | ||
* Individual campaign name, slogan, promo code, etc | ||
*/ | ||
campaign: string; | ||
/** | ||
* [Optional] Search keywords | ||
*/ | ||
term: string | null; | ||
/** | ||
* [Optional] Used to differentiate similar content, or links within the same ad | ||
*/ | ||
content: string | null; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16792
481