Back to Publisher API Reference

pbjs.registerAnalyticsAdapter(options)

Registers an analytics adapter so it can listen to auction events.

Kind: static method of pbjs.

Request Params:

Param Type Description
options object Object containing the adapter instance and code

Example

pbjs.registerAnalyticsAdapter({
  adapter: myAnalyticsAdapter,
  code: 'myAnalytics',
  gvlid: 1
});

Back to Publisher API Reference