Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.63 KB

growthCodeAnalyticsAdapter.md

File metadata and controls

35 lines (28 loc) · 1.63 KB

GrowthCode Analytics Adapter

GrowthCode offers scaled infrastructure-as-a-service to empower independent publishers to harness data and take control of identity and audience while rapidly aligning to industry changes and margin pressure.

Building Prebid with GrowthCode Support

First, make sure to add the GrowthCode submodule to your Prebid.js package with:

gulp build --modules=growthCodeIdSystem,growthCodeAnalyticsAdapter,userId

The following configuration parameters are available:

pbjs.enableAnalytics({
  provider: 'growthCodeAnalytics',
  options: {
    pid: '<Contact GrowthCode>',
    trackEvents: [
      'auctionEnd',
      'bidWon']
  }
});
Param enableAnalytics Scope Type Description Example
provider Required String The name of this Adapter. "growthCodeAnalytics"
params Required Object Details of module params.
params.pid Required String This is the Customer ID value obtained via Intimate Merger. "<Contact GrowthCode>"
params.url Optional String Custom URL for server
params.trackEvents Required String Name if the variable that holds your publisher ID