Termly’s Resource Blocker automatically detects when the WordPress Consent API is available and will communicate with it behind the scenes. This ensures your visitors’ consent preferences are passed to other WordPress plugins that support the API.
How to verify the integration
To confirm that Termly is successfully connected with the WP Consent API:
Open your WordPress site in a browser.
Right-click anywhere on the page and choose Inspect (or press
F12) to open the developer tools.-
Go to the Console tab and type:
window.wp_consent_type
If your Termly banner is set to Opt-Out in the Termly dashboard → the console should return:
optout
If your Termly banner is set to Opt-In in the Termly dashboard → the console should return:
optinOnce verified, your Termly banner will automatically share consent preferences with other WordPress plugins that support the WP Consent API. No further setup is required.
Related Articles
How do I install the consent banner on WordPress?
What is the WordPress Consent API and How Does Termly Support It