tapp cookie
tapp cookie WordPress plugin: consent banner, Google Consent Mode and WP Consent API integration
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/tapp-studio/wordpress-plugin-tapp-cookie/archive/refs/heads/main.ziptapp cookie for WordPress
WordPress plugin for tapp cookie, the consent management platform by TAPP Studio s.r.o. Current version: 0.2.0.
What it does
- Prints the Google Consent Mode default (all denied,
wait_for_update500 ms,ads_data_redaction) and the Google developer IDdMjg5ODas the very first output ofwp_head(priority 0), followed by the tapp cookie banner script. - Blocks known tracking scripts until the visitor consents (
blocking: auto), or lets you mark scripts manually. - Integrates with the WP Consent API: the plugin registers itself
(
wp_consent_api_registered_tapp-cookie/tapp-cookie.php), uses theoptinconsent type and passes every choice towp_set_consent()forstatistics,marketing,preferencesandfunctional. Plugins that read the WP Consent API, for example Site Kit by Google with consent mode, follow the visitor's choice. - Cookie declaration block,
[tapp_cookie_declaration]shortcode and[tapp_cookie_settings_link]shortcode for a "Privacy settings" link. - Updates from
https://cmp.tappcookie.cz/wordpress/tapp-cookie.json(Plugin Update Checker).
Install
- Download tapp-cookie-0.2.0.zip and upload it in Plugins → Add New → Upload Plugin, then activate it.
- Install and activate the WP Consent API plugin.
- Settings → tapp cookie: enter the Site ID and Tenant ID from the tapp cookie admin (https://tappcookie.cz/app).
Test site
https://wp.google-audit.tappcookie.cz is WordPress with this plugin, the WP Consent API and Site Kit by Google (Google Analytics 4, consent mode enabled). The banner shows in every region.
- Before the choice the Google tag sends nothing.
- Accept all:
wp_has_consent("statistics")andwp_has_consent("marketing")returntrue, the four consent types are updated to granted and Google Analytics 4 requests carrygcs=G111. - Reject all: the WP Consent API categories stay denied and nothing is sent to Google.
Demo video: https://d2mjjteeye1yva.cloudfront.net/demo/2026-11-19/04-wordpress-wp-consent-api.mp4
Documentation and support
- Google Consent Mode with tapp cookie: https://tappcookie.cz/en/docs/consent-mode
- Support: info@tapp-studio.cz, business days 9–17 CET, first response within 1 business day.
License
GPL-2.0-or-later, see LICENSE. The bundled Plugin Update Checker (vendor/plugin-update-checker) by
Jānis Elsts is MIT licensed, see its license.txt.
This repository mirrors the plugin as distributed. Development happens in the tapp cookie monorepo.