Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@objectiv/schema

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@objectiv/schema - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

2

package.json
{
"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;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc