Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.31 KB

advRedAnalyticsAdapter.md

File metadata and controls

30 lines (25 loc) · 1.31 KB

Overview

Module Name: AdvRed Analytics Adapter
Module Type: Analytics Adapter
Maintainer: [email protected]

Usage

The AdvRed analytics adapter can be used by all clients after approval. For more information, please visit https://ams.adv.red/

Analytics Options

Param enableAnalytics Scope Type Description Example
provider Required String The name of this Adapter. 'advRed'
params Required Object Details of module params.
params.publisherId Required String This is the Publisher ID value obtained from AdvRed. '123456'
params.url Optional String Custom URL of the endpoint to collect the events 'https://pub1.api.adv.red/api/event'

Example Configuration

pbjs.enableAnalytics({
    provider: 'advRed',
    options: {
        publisherId: '123456'    // change to the Publisher ID you received from AdvRed
    }
});