DataBlocks Analytics Adapter

Features

Module datablocksAnalyticsAdapter Prebid.org Member yes
TCF-EU Support check with vendor IAB GVL ID check with vendor
USP/CCPA Support check with vendor COPPA Support check with vendor
GPP Support check with vendor Download download page

To use this adapter, include datablocksAnalyticsAdapter in your Prebid.js build (for example gulp build --modules=datablocksAnalyticsAdapter) and call pbjs.enableAnalytics() as described below. See Prebid.js Analytics Adapters for all analytics adapters.

Registration

Please visit datablocks.net/ for more information.

Configuration

This is a bundle-type adapter: it forwards Prebid events to a window.datablocksAnalytics function, which must be defined by the DataBlocks script before analytics is enabled.

pbjs.enableAnalytics({
  provider: 'datablocks'
});

The adapter does not read any adapter-specific options; the publisherId, sourceId and host options shown in the module’s readme are not used by the adapter code.

Collected Data

Every Prebid event (except auctionDebug) is passed as datablocksAnalytics('on', eventType, args). The adapter makes no network requests itself; collection and transport are handled by the DataBlocks script.