iframe blocking
Learn how to block iframes based on consent.
Overview
Iframe blocking is a feature that allows you to block iframes based on consent. This is useful for blocking iframes that are not allowed to load until consent is given. This should be used when an iframe sets cookies such as a YouTube embed.
Headless Usage
Info
The iframe blocker will only block iframes that have a data-category & data-src attribute.
No fallback is provided for blocked iframes using this method.