Automatad

Features

Instructions for usage

The Automatad analytics adapter requires on-boarding, configuration parameters & addition of an external script that will be supplied to you by your Automatad account team. Please reach out to your account team or cs@automatad.com for more information.

Adapter Configuration Options

Name Scope Description Example Type
siteID required Your site ID N8vZLx string
publisherID required Your publisher ID PXfvBq string
logDebug optional Flag to collect debug data pertaining to auctions. Defaults to false false boolean

Example Configuration

import CONSTANTS '../src/constants.json';
// ...
const EVENTS = CONSTANTS.EVENTS
// ...
pbjs.enableAnalytics({
  provider: 'automatadAnalytics',
  options: {
    siteID: 'N8vZLx',        // supplied by Automatad
    publisherID: 'PXfvBq',   // supplied by Automatad
    logDebug: false          // Defaults to false
  },
  includeEvents: [
      EVENTS.AUCTION_INIT,
      EVENTS.BID_RESPONSE,
      EVENTS.AUCTION_DEBUG,
      EVENTS.BID_WON,
      EVENTS.BIDDER_DONE,
      EVENTS.NO_BID,
      EVENTS.BID_TIMEOUT
  ]
});