The WP Consent API is a standard interface that WordPress plugins can read to find out whether a visitor has consented to a given category of tracking. When the integration is enabled, CookieChimp keeps the WP Consent API up to date as the user’s preferences change, so compatible plugins (Google Site Kit, WooCommerce, MonsterInsights, and many others) can react automatically.Documentation Index
Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- The CookieChimp WordPress plugin installed and configured with your Account ID — see the WordPress installation guide.
- The WP Consent API plugin installed and activated from the WordPress plugin directory.
How do I enable it?
Open the Integrations page
Go to Integrations in your CookieChimp dashboard and find the WordPress Consent API card.

How does CookieChimp map to WP Consent types?
| CookieChimp Category | WP Consent API Type |
|---|---|
| essential | functional |
| analytics | statistics |
| marketing | marketing |
| personalization | preferences |
How do I verify it’s working?
In a PHP file or via the Query Monitor plugin, check the consent state directly:wp_has_consent() should update accordingly.
- Enable Debug mode from the CookieChimp dashboard and check the browser JS console for errors.
If you encounter any issues or need further assistance, please reach out to us via our chat.