WP Manifestindependent plugin directory
manifest / privacy / consent-api-js

WP Consent API JS #9 in Privacy & Compliance

Forks the JavaScript Consent API in rlankhorst/wp-consent-level-api

by Rogier Lankhorst and Human Made · github.com/humanmade/consent-api-js · website

4stars
206kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/humanmade/consent-api-js/archive/refs/heads/main.zip

Also on Packagist as altis/consent-api:

composer require altis/consent-api

From the readme

Altis Consent API Forks the JavaScript Consent API in rlankhorst/wp-consent-level-api Removes the PHP-based API entirely in favor of the JS-only consent API. Note: In order for linting to work properly, eslint must already be installed and exist globally. Description Consent API to read and register the current consent category, allowing consent management plugins and other plugins to work together, improving compliancy. What problem does this plugin solve? Currently it is possibly for a consent management plugin to block third party services like Facebook, Google Maps, Twitter, etc. But if a WordPress plugin places a PHP cookie, a consent management plugin cannot prevent this. Secondly, there are plugins that integrate tracking code on the clientside in javascript files that, when blocked, break the site. Or, if such a plugin's javascript is minified, causing the URL to be unrecognizable, it won't get detected by an automatic blocking script. Lastly, the blocking approach requires a list of all types of URL's that place cookies or use other means of tracking. A generic API where plugins adhere to can greatly facilitate a webmaster in getting a site compliant. Does usage

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
1.0.7Jun 2, 2021
1.0.6Feb 8, 2021
1.0.5Jan 13, 2021
1.0.4Jan 12, 2021
1.0.3Jan 6, 2021
1.0.2Nov 19, 2020
1.0.1Nov 17, 2020
1.0.0Nov 2, 2020