Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gustavohenribra/concedo-wordpress/archive/refs/heads/main.zipConcedo for WordPress
WordPress plugin for Concedo, a consent management platform (CMP) built for the Brazilian LGPD.
The plugin loads the Concedo script as the first tag in <head>, so the Google Consent Mode v2 default (everything denied except security_storage) is set before any Google tag runs. The cookie banner, the blocking of known trackers and the consent record come from the Concedo script.
WP Consent API
The plugin is integrated with the WP Consent API:
- declares compatibility through the
wp_consent_api_registered_{plugin}filter; - sets the consent type to
optinthrough thewp_get_consent_typefilter; - registers its own cookie with
wp_add_cookie_info; - calls
wp_set_consent( category, 'allow' | 'deny' )in the browser whenever the visitor decides, and again on page load for returning visitors (wp-consent-api.js).
| Concedo category | WP Consent API category |
|---|---|
| Necessary | functional |
| Statistics | statistics, statistics-anonymous |
| Marketing | marketing |
| Personalization | preferences |
Plugins that read the WP Consent API, such as Site Kit by Google, follow the visitor's choice. Without the WP Consent API plugin installed, Concedo keeps working on its own.
Install
- Download the zip from https://www.concedo.com.br/para/wordpress or copy this repository to
wp-content/plugins/concedo. - Activate the plugin and paste your site's public key in Settings → Concedo.
- Optional: install and activate the WP Consent API plugin.
License
GPL-2.0-or-later. See LICENSE.