Explainer

Understanding the Metrics on This Page

auctions — Number of lift_auction summary events ingested for that cohort (one per auction you ran). Totals.auctions = control.auctions + test.auctions.

avgTreatment — The average treatment CPM in that cohort = (sum of treatmentCpm) / auctions. In this page, this is the CPM of the ad that actually “won” (synthetic when synthWinRate=1, otherwise the winning path). Units: USD CPM.

incrementalLiftAbs — The global absolute lift per auction attributable to the test cohort: incrementalLiftAbs = test.avgTreatment − control.avgTreatment. Positive = test (e.g., SharedID present) is earning more per auction. Units: USD CPM.

incrementalLiftPct — The global relative lift: incrementalLiftPct = incrementalLiftAbs / control.avgTreatment (null if control.avgTreatment = 0). This is a fraction (e.g., 0.25 = +25%).

Config: setConfig

pbjs.setConfig({
  bidderTimeout: 1200,
  userSync: {
    syncDelay: 0,
    userIds: [{ name: 'sharedId', storage: { type: 'cookie', name: '_sharedid', expires: 365 } }]
  },
  enrichmentLiftMeasurement: {
    testRun: freshRun,
    storeSplits: 'memory', //session storage or localStorage
    suppression: 'submodules',
    modules: [{ name: 'sharedId', percentage: 0.5 }]
  }
});

Config: genericAnalyticsAdapter

pbjs.enableAnalytics({
  provider: 'generic',
  options: {
    url: collectUrl,
    batchSize: 5,
    batchDelay: 200,
    events: {
      auctionInit(args)   { return { eventType:'auctionInit',  labels: __computeEnrichmentLabels(), args }; },
      bidRequested(args)  { return { eventType:'bidRequested', labels: __computeEnrichmentLabels(), args }; },
      bidResponse(args)   { return { eventType:'bidResponse',  labels: __computeEnrichmentLabels(), args }; },
      auctionEnd(args)    { return { eventType:'auctionEnd',   labels: __computeEnrichmentLabels(), args }; },
      bidWon(args)        { return { eventType:'bidWon',       labels: __computeEnrichmentLabels(), args }; },
      noBid(args)         { return { eventType:'noBid',        labels: __computeEnrichmentLabels(), args }; },
      bidTimeout(args)    { return { eventType:'bidTimeout',   labels: __computeEnrichmentLabels(), args }; }
    }
  }
});

Global Lift (Live)

From /metrics: two live values from /metrics: absolute lift (USD CPM) and relative lift (%).

Cohort CPM Scatter

Treatment CPM by cohort over time.

Test Control