We’ve officially upgraded ConsentBit with enhanced support for the latest IAB Transparency & Consent Framework (TCF) standards

Iframe blocking

May 19, 2026

For iframes (e.g., YouTube embeds), use data-consentbit-src instead of src:

<iframe
  data-consentbit-src="https://www.youtube.com/embed/VIDEO_ID"
  data-consentbit-category="marketing"
  width="560" height="315">
</iframe>

ConsentBit shows a placeholder until the visitor consents, then loads the iframe.

Frequently asked questions

No items found.
Didn’t find your answer?
Contact us here