What is a CMP (Consent Management Platform)?

A Consent Management Platform (CMP) is a tool used to collect, store, and manage user consent for data processing, especially in compliance with regulations like the GDPR (General Data Protection Regulation) and the IAB Europe’s TCF v2 (Transparency & Consent Framework).

A CMP typically displays a banner or preferences interface where users can accept or reject different purposes (e.g., personalized ads, analytics) and vendors (e.g., Google, Meta).

The CMP is responsible for:

  • Providing a clear user interface for managing consent.
  • Storing consent choices in a compliant and traceable way.
  • Making consent information available to third-party services via the __tcfapi JavaScript API.

How do I activate and configure a CMP on my Koalect platform?

 Koalect does not provide support for the configuration or integration of third-party CMPs.

You can enable the CMP (Consent Management Platform) feature via MyKoalect > Settings > Integrations. Once enabled, you must add your CMP script to the platform using Google Tag Manager (GTM).

If this feature is unavailable, please contact support@koalect.com to request activation.

What happens when I activate the CMP feature?

Once CMP is activated:

  • The default Koalect cookie bar will no longer appear.
  • Consent management will be fully delegated to your CMP.
  • Koalect will not automatically update consent for tools like Google Tag Manager.

You are responsible for forwarding the appropriate consent information to Koalect.

How do I send consent information to Koalect?

Recommended approach: Set categories (purposes)

You can use the setPurposes method to specify the user’s consent per category:

window.koalect.consent.setPurposes({
  functional: true,
  analytics: false,
  marketing: false
});

⚙️ Advanced option: Set vendors manually

Some CMPs let you allow or block specific vendors, whether or not they’re IAB-listed. Koalect only uses a fixed list of vendors.

window.koalect.consent.setVendors({
  facebook: false,
  youtube: true,
  vimeo: true,
  google_maps: true,
  google_fonts: true,
  sentry: true,
  mixpanel: true
});

📘 Alternative option: Use TCF data

You can provide the full TCF consent object. Koalect will extract and map the TCF purposes to its internal categories

window.koalect.consent.setTcfData(tcData);

Is there a way to detect when the user opens the cookie bar?

Yes. Koalect exposes a subscription event that is triggered when the user explicitly requests the cookie bar.

window.koalect.consent.subscribe('cookieBarRequested', function() {
  // Your custom method to reopen the cookie bar
});