Skip to main content

Delaying ConvertFlow script loading until cookie policy is accepted

How to conditionally load the ConvertFlow script through a CMP

Mariana avatar
Written by Mariana
Updated today

While ConvertFlow doesn’t have direct CMP integrations, here are practical ways to implement our script using four of the most popular platforms.

Usercentrics

Supports both auto-blocking and manual control of scripts. You can use their "Auto‑blocking mode" to automatically prevent data-processing services from loading until consent is granted. While manual blocking wraps the ConvertFlow script in code and adds an attribute matching Usercentric's configuration, so it stays blocked until consent is given.

You can also create custom window events to listen for consent changes and programmatically trigger ConvertFlow's script loading.

OneTrust

Offers integration workflows to automate sending consent updates to third-party systems. It also exposes a JavaScript CMP API, allowing you to detect consent status and conditionally load scripts through different calls that help manage consent dynamically. Their API also supports listening for consent changes, enabling conditional loading of SDKs or scripts.

Documentation on creating templates and publishing scripts is also available.

CookieYes

Enables automatic blocking of ConvertFlow's cookies/scripts until consent is given. You can also manually block specific scripts using URL pattern matching under non‑necessary categories.

It also integrates with Google Consent Mode v2, allowing dynamic control over tags like analytics or ads based on user consent. If you're using Google Tag Manager (GTM), you can block ConvertFlow's cookies/scripts pre‑consent using custom event triggers.

Cookiebot by Usercentrics

Automatically scans and categorizes ConvertFlow's cookies, helping you classify them for prior consent. To block scripts prior to consent, they need to be tagged and include the category (e.g., “statistics” or “marketing”).

They also provide a developer SDK with methods, events, and properties to detect consent status, as well as support the Google Consent Mode integration to control tag behaviors based on consent.

Offers API access for extracting consent logs and user consent data.

Did this answer your question?