From 93ea19eb0abc5b95c898a1e89c7ec3cd3663912c Mon Sep 17 00:00:00 2001 From: "jan.sima" Date: Wed, 4 Dec 2024 16:14:27 +0100 Subject: [PATCH] r2b2 analytic adapter md --- dev-docs/analytics/r2b2.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-docs/analytics/r2b2.md diff --git a/dev-docs/analytics/r2b2.md b/dev-docs/analytics/r2b2.md new file mode 100644 index 0000000000..42b0eae148 --- /dev/null +++ b/dev-docs/analytics/r2b2.md @@ -0,0 +1,37 @@ +--- +layout: analytics +title: R2B2 +description: R2B2 Analytics Adapter +modulecode: r2b2 +prebid_member: false +tcfeu_supported: true +usp_supported: true +coppa_supported: true +gvl_id: 1235 +enable_download: true +--- + +#### 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 + +```js +pbjs.enableAnalytics({ + provider: 'r2b2', + options: { + domain: 'example.com', + configId: 1, + configVer: 1 + } +}); +```