R2B2 Analytics Adapter
Features
| Module | r2b2AnalyticsAdapter |
Prebid.org Member | no |
|---|---|---|---|
| TCF-EU Support | yes | IAB GVL ID | 1235 |
| USP/CCPA Support | yes | COPPA Support | yes |
| GPP Support | check with vendor | Download | download page |
To use this adapter, include r2b2AnalyticsAdapter in your Prebid.js build (for example gulp build --modules=r2b2AnalyticsAdapter) and call pbjs.enableAnalytics() as described below. See Prebid.js Analytics Adapters for all analytics adapters.
About
The R2B2 Analytics Adapter enables data collection for analysis and reporting purposes. Access to collected data and the ability to start data collection require prior approval from R2B2. For approval, please contact our account team on partner@r2b2.io.
Analytics Options
| Name | Scope | Example | Type | Description |
|---|---|---|---|---|
domain |
required | example.com | string |
R2B2 approved domain where data collection occurs |
configId |
optional | 1 | int |
Identifier for different configurations under the same domain (e.g., 1 for mobile, 2 for desktop) |
configVer |
optional | 1 | int |
Version number for configurations sharing the same configId |
Example Configuration
pbjs.enableAnalytics({
provider: 'r2b2',
options: {
domain: 'example.com',
configId: 1,
configVer: 1
}
});