Truss Consent Manager is a full consent management plugin for WordPress and WooCommerce. It goes beyond a simple cookie banner to actively detect, categorise, and block tracking scripts until your visitors give consent.
Core Features
type="text/plain" and re-activates them after consent.gtag consent default call before any Google scripts load, then updates consent signals automatically when visitors accept or decline.wpcm_register_script( $handle, $category ) for manual script registration.Google Consent Mode v2 — Signal Mapping
When Google Consent Mode is enabled (default), the plugin injects a denied default state before any Google scripts load and updates the following signals based on visitor consent:
analytics_storagead_storage, ad_user_data, ad_personalizationfunctionality_storage, personalization_storageThis works automatically with Google Analytics 4, Google Ads, and Google Tag Manager.
Privacy-first design
Consent is stored in a first-party browser cookie (wpcm_consent). No consent data is sent to any external server by this plugin. The Script Blocking Engine runs entirely server-side and client-side — no cloud dependency.
This plugin integrates with the following external services when Google Consent Mode v2 is enabled:
Google Consent Mode / Google Tag Manager / Google Analytics
When Google Consent Mode is enabled (Settings Advanced Google Consent Mode v2), this plugin injects JavaScript that communicates with Google’s dataLayer and gtag() API. This sends consent signals to Google when a visitor interacts with the consent banner.
If you disable Google Consent Mode in the plugin settings, no data is sent to Google by this plugin (though your own Google Analytics / GTM setup may still send data independently).