There are two ways to enable the WP Consent API with UniConsent:
This is the easiest and most reliable way to integrate UniConsent with the WP Consent API.
Install the required plugins:
Activate both plugins from your WordPress admin dashboard.
The WP Consent API plugin does not provide a user interface. It acts as a bridge between your Consent Management Platform (CMP) in this case, other plugins that rely on the WP Consent API to check user consent before executing.
This setup ensures that all compatible plugins follow a consistent and privacy-compliant behavior automatically.
If you prefer a manual setup (for non-WordPress environments or advanced customization), you can add UniConsent directly via tags.
<head>
section of your website:<script data-nowprocket data-cfasync="false" async src="https://cmp.uniconsent.com/v2/wp-consent-api.min.js"></script>
This method is more advanced and may require additional configuration to ensure full compatibility with your site's plugins and scripts.