ConsentMagic Pro / Default Rules / IAB Rule

IAB Rule

Last updated: February 12, 2026

The IAB Rule switches ConsentMagic into TCF v2.2 mode (Transparency & Consent Framework). Instead of a simple “accept/reject cookies” banner, visitors get an IAB-compliant CMP interface where they can control consent for Purposes / Features / Vendors, and ConsentMagic generates the TC String that ad platforms and vendors read.

Use this rule if you rely on programmatic advertising (and anything that expects a TCF consent string).


Where to configure it

Go to ConsentMagic Pro → Rules → IAB Rule → Edit.


Core rule settings

Enable Rule

Turns the IAB rule on/off.

Locations

Choose the countries/regions where this rule should apply (you can target EU only, or broader locations).

Show this rule when we can’t retrieve the IP

If enabled, visitors with unknown location (IP not detected) will still see the IAB CMP experience.

Consent type: IAB

This is what activates the TCF v2.2 interface and consent string generation.


Tag handling options

For Google Tags, use Google Consent Mode instead of blocking the scripts

If enabled, ConsentMagic will use Google Consent Mode behavior for Google tags (instead of hard-blocking scripts). This allows Google tags to load in a consent-aware state and adjust behavior based on the visitor’s choices.

For Microsoft UET Tags, use Consent Mode instead of blocking the scripts

Same idea, but for Microsoft UET (Bing).
(Shown as working when the UET tag is configured via the PixelYourSite Bing add-on.)

Enable ConsentMagic native script controls

Enables ConsentMagic’s own built-in script control layer alongside the IAB CMP flow (useful when you want ConsentMagic to control additional scripts beyond vendors that rely only on the TC string).


Visitor experience controls

Sticky

Shows a small sticky consent bar after consent is expressed (handy so users can revisit choices).

Mobile side sticky button

Places the sticky control on the right side on mobile, avoiding overlap with content.

Deny all button

Adds a Deny all option inside the CMP UI (quick negative consent).

Hide close button

Hides the close icon so visitors must explicitly express positive or negative consent (useful for stricter flows).

Block scroll

Prevents scrolling until the visitor interacts with the consent message.

Refresh page after consent

Reloads the page after Accept/Reject, so scripts and embedded content can initialize cleanly under the new consent state.

Excluded from consent storing

If enabled, ConsentMagic will not store consent for visitors handled by this rule.


Content / design (UI presentation)

At the bottom you can choose how the CMP is displayed (based on what’s available for IAB mode), such as:

  • design type (shown as single-step design),
  • theme (e.g., Light),
  • layout type (e.g., Large popup).

In IAB mode, text and structure are generally more standardized because the CMP needs to stay compliant with the framework’s requirements—so customization focuses more on presentation than rewriting the legal UI copy.


Next step: vendor configuration

After enabling the IAB rule, configure which vendors/purposes appear under ConsentMagic → IAB Settings (this is where you control vendor visibility and related IAB options).