Skip to content

Consent Management Platform (CMP) Integration

Consent Management Platforms (CMPs) are essential for websites to comply with privacy regulations like GDPR. Htag works seamlessly with various CMPs to ensure that user consent is properly collected and respected before loading ads.

You can configure Htag to wait for the CMP to load and collect user consent before initializing the ad loading process. This is controlled by the awaitTcLoaded setting in your tag configuration.

When you enable awaitTcLoaded, Htag will wait for the CMP to load and initialize, and check for the existence of the Transparency and Consent Framework (TCF) API.

Htag is compatible with any CMP that implements the IAB Transparency and Consent Framework (TCF) v2.0 standard.

Configure CMP integration through the Adconsole interface. Simply enable or disable the awaitTcLoaded setting for your tag.

<!-- First, load your CMP -->
<script src="https://your-cmp-provider.com/cmp.js"></script>
<!-- Then, load Htag -->
<script defer="defer" async="async" src="https://adnz.co/header.js?id=YOUR_TAG_ID"></script>