Prebid is able to use the consent information collected by IAB TCF-compliant CMPs through the standard IAB TCF API. The consent information is then passed down to the bidders/vendors that support those APIs.

To enable Prebid support for CMPs and have it work with Didomi, follow the steps listed on this page.

Make sure that the consentManagement module is being added to your Prebid build:

Configure Prebid

Configure your Prebid deployment to enable consent management with an iab CMP by adding a consentManagement.gdpr configuration option:

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
pbjs.que.push(function() {
    consentManagement: {
      gdpr: {
        cmpApi: 'iab',
        timeout: 8000,
        allowAuctionWithoutConsent: false


The complete documentation from Prebid is available here:

Enable IAB TCF vendors

If you do not collect consent for all IAB vendors, make sure to enable the IAB vendor IDs corresponding to all the bidders/adapters that you are working with in Prebid.

Last updated