CookieYes and WP Consent API: Enhancing Cookie Management
Last updated on August 14, 2024
Overview
The WP Consent API is a plugin to help manage user consent preferences across partnered WordPress plugins. It requires a cookie banner plugin, such as CookieYes, and can be used with other plugins that support the API.
CookieYes integrates the WP Consent API, and this ensures that all supporting plugins can read and register the current consent category, improving overall site compliance and functionality.
If you haven’t already installed CookieYes on your WordPress site, install and setup the CookieYes WordPress Plugin by referring to our guide.
Key Benefits
- Enables CookieYes users to use a standardized consent management approach, ensuring that all compatible plugins adhere to the same set of consent categories.
- Manages PHP cookies set by WordPress plugins.
How it works?
Consent management plugins can block third-party services such as Facebook and Google Maps but often struggle with PHP cookies set by WordPress plugins. Additionally, some plugins use client-side JavaScript for tracking, which can disrupt site functionality if blocked. Manually managing and blocking all tracking URLs is complex. This plugin simplifies compliance by providing a standardized API for easier and more effective consent management.
WPI Consent API Cookies
WP Consent API plugin sets the following cookies on your website:
wp_consent_functional
: It is a Cookie used to store user consent for the Functional category.
wp_consent_marketing
: This Cookie stores user consent for the Marketing category.
wp_consent_preferences
:Cookie used to store user preferences in the Preferences category.
wp_consent_statistics
: This Cookie is used to store user consent for the Statistics category.
wp_consent_statistics-anonymous
: Cookie used to store user consent for the Statistics-anonymous category.
These cookies are only set for users with the WP Consent API plugin installed on their WordPress website. For these sites, the WP Consent API automatically integrates with CookieYes to manage cookies.
Categories
- Statistics: Cookies or other local storage used exclusively for statistical purposes, such as analytics.
- Statistics-anonymous: Cookies or other local storage used exclusively for anonymous statistical purposes (Anonymous Analytics Cookies), placed on a first-party domain, and not used to identify individuals.
- Marketing: Cookies or other local storage required to create user profiles, send advertising, or track users across websites for marketing purposes.
- Functional: Cookies or other local storage used solely for transmitting communications over an electronic network. The technical storage or access is essential to enable the use of a specific service explicitly requested by the subscriber or user. If these cookies are disabled, the requested functionality will not be available, making them essential functional cookies.
- Preferences: Cookies or other local storage that do not fall under statistics, anonymous statistics, marketing, or functional categories, but are necessary for storing user preferences.
Category Mapping
The table below outlines the mapping of consent categories when integrating the WP Consent API with the CookieYes WordPress Plugin:
CookieYes category | WP Consent API category |
Functional | Preferences |
Analytics | Statistics/Statistics-anonymous |
Performance | Functional |
Advertisement | Marketing |
Popular Supported Plugins
For further information, refer the plugin page.
Conclusion
CookieYes supports WP Consent API to provide standardized consent management across supported WordPress plugins, making it easier for you to manage and maintain compliance.