{"id":298912,"date":"2026-06-05T23:56:47","date_gmt":"2026-06-05T23:56:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/truss-consent-manager\/"},"modified":"2026-06-07T22:45:25","modified_gmt":"2026-06-07T22:45:25","slug":"truss-consent-manager","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/truss-consent-manager\/","author":23451690,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5.0","stable_tag":"trunk","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Truss Consent Manager \u2013 GDPR Cookie Consent Manager for WordPress","header_author":"gutenplugins","header_description":"Cookie consent banner with multiple layouts, simple and granular consent modes, and email opt-in management.","assets_banners_color":"a4aab1","last_updated":"2026-06-07 22:45:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wptruss.com\/truss-consent-manager\/","header_author_uri":"https:\/\/wptruss.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":85,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.5":{"tag":"1.5","author":"gutenplugins","date":"2026-06-07 22:45:25"}},"upgrade_notice":{"1.5.0":"<p>Adds Google Consent Mode v2 support and improved consent handling.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3562811,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3562811,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3562811,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-2316x750.png":{"filename":"banner-2316x750.png","revision":3562811,"resolution":"2316x750","location":"assets","locale":"","width":2316,"height":750},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3562811,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Consent Manager settings page","2":"Cookie banner configuration","3":"Google Consent Mode v2 settings","4":"Script Scanner results","5":"Cookie Bar layout","6":"Card layout","7":"Floating Box layout"}},"plugin_section":[],"plugin_tags":[216591,168468,20272,16626,131785],"plugin_category":[],"plugin_contributors":[266019],"plugin_business_model":[],"class_list":["post-298912","plugin","type-plugin","status-publish","hentry","plugin_tags-consent-management","plugin_tags-consent-manager","plugin_tags-cookie-banner","plugin_tags-cookie-consent","plugin_tags-gdpr","plugin_contributors-gutenplugins","plugin_committers-gutenplugins"],"banners":{"banner":"https:\/\/ps.w.org\/truss-consent-manager\/assets\/banner-772x250.png?rev=3562811","banner_2x":"https:\/\/ps.w.org\/truss-consent-manager\/assets\/banner-1544x500.png?rev=3562811","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/truss-consent-manager\/assets\/icon-128x128.png?rev=3562811","icon_2x":"https:\/\/ps.w.org\/truss-consent-manager\/assets\/icon-256x256.png?rev=3562811","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Truss Consent Manager is a powerful Consent Manager plugin for WordPress and WooCommerce. It helps website owners manage cookie consent, privacy preferences, script blocking, cookie settings, and Google Consent Mode v2 from a single dashboard.<\/p>\n\n<p>Unlike basic cookie banner plugins, Truss Consent Manager functions as a lightweight Consent Management Platform (CMP). The built-in Script Scanner analyses real frontend output to detect tracking technologies, while the Script Blocking Engine prevents approved trackers from loading until visitor consent is granted.<\/p>\n\n<p>Whether you need a Cookie Consent Manager for GDPR Cookie Consent, privacy compliance, cookie preferences, or Google Consent Mode v2, Truss Consent Manager provides the tools needed to manage visitor consent without complex configuration.<\/p>\n\n<h3>Why Choose Truss Consent Manager<\/h3>\n\n<p>Truss Consent Manager helps WordPress and WooCommerce site owners manage cookie consent and privacy compliance without complex setup.<\/p>\n\n<ul>\n<li>Consent Manager dashboard for managing visitor preferences<\/li>\n<li>Cookie Consent Manager with multiple banner layouts<\/li>\n<li>Automatic tracking script detection<\/li>\n<li>Script blocking before consent is granted<\/li>\n<li>Google Consent Mode v2 support<\/li>\n<li>WooCommerce compatibility<\/li>\n<li>Granular consent categories<\/li>\n<li>Privacy-first architecture<\/li>\n<li>Consent Management Platform (CMP) functionality<\/li>\n<li>Cookie settings and cookie preference controls<\/li>\n<\/ul>\n\n<h3>Consent Manager Features<\/h3>\n\n<ul>\n<li>Three banner layouts: Cookie Bar, Card, and Floating Box<\/li>\n<li>Accept All, Decline All, and granular consent controls<\/li>\n<li>Analytics, Marketing, Functional, and Necessary categories<\/li>\n<li>Script Scanner for detecting tracking technologies<\/li>\n<li>Script Blocking Engine for consent-based loading<\/li>\n<li>Smart category visibility based on detected services<\/li>\n<li>Google Consent Mode v2 integration<\/li>\n<li>Developer API for custom integrations<\/li>\n<li>Privacy compliance focused architecture<\/li>\n<\/ul>\n\n<p>Detects popular tracking technologies including:<\/p>\n\n<ul>\n<li>Google Analytics<\/li>\n<li>Google Tag Manager<\/li>\n<li>Meta Pixel<\/li>\n<li>TikTok Pixel<\/li>\n<li>Microsoft Clarity<\/li>\n<li>Hotjar<\/li>\n<li>Matomo<\/li>\n<\/ul>\n\n<h3>Cookie Consent Manager<\/h3>\n\n<p>The built-in Cookie Consent Manager helps visitors understand and control how cookies and tracking technologies are used on your website.<\/p>\n\n<p>Visitors can:<\/p>\n\n<ul>\n<li>Accept all cookies<\/li>\n<li>Decline non-essential cookies<\/li>\n<li>Configure individual consent categories<\/li>\n<li>Update cookie preferences at any time<\/li>\n<li>Review cookie settings when required<\/li>\n<\/ul>\n\n<h3>WooCommerce Consent Manager<\/h3>\n\n<p>Truss Consent Manager is designed for WooCommerce stores and helps manage consent for analytics, marketing, and functional services while maintaining a smooth shopping experience.<\/p>\n\n<h3>Google Consent Mode v2<\/h3>\n\n<p>When enabled, the plugin injects the required consent signals before Google services load.<\/p>\n\n<p>Signal Mapping:<\/p>\n\n<ul>\n<li>Analytics consent \u2192 analytics_storage<\/li>\n<li>Marketing consent \u2192 ad_storage<\/li>\n<li>Marketing consent \u2192 ad_user_data<\/li>\n<li>Marketing consent \u2192 ad_personalization<\/li>\n<li>Functional consent \u2192 functionality_storage<\/li>\n<li>Functional consent \u2192 personalization_storage<\/li>\n<\/ul>\n\n<p>Compatible with Google Analytics 4, Google Ads, and Google Tag Manager.<\/p>\n\n<h3>Privacy First<\/h3>\n\n<p>Consent preferences are stored locally in a first-party browser cookie. No consent data is transmitted to external servers by this plugin. The Consent Manager is designed around privacy-by-default principles.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>Google Consent Mode \/ Google Tag Manager \/ Google Analytics<\/p>\n\n<p>When Google Consent Mode v2 is enabled, the plugin communicates consent preferences to Google's gtag() and dataLayer APIs.<\/p>\n\n<p>What is sent:<\/p>\n\n<ul>\n<li>Consent grant and denial signals<\/li>\n<\/ul>\n\n<p>When it is sent:<\/p>\n\n<ul>\n<li>When a visitor accepts, declines, or saves preferences<\/li>\n<li>On future visits to restore consent preferences<\/li>\n<\/ul>\n\n<p>Google Privacy Policy:\nhttps:\/\/policies.google.com\/privacy<\/p>\n\n<p>Google Terms:\nhttps:\/\/policies.google.com\/terms<\/p>\n\n<h3>Developer API<\/h3>\n\n<p>For custom scripts or integrations, manually register scripts using:<\/p>\n\n<p>wpcm_register_script( $handle, $category )<\/p>\n\n<p>Categories include:<\/p>\n\n<ul>\n<li>analytics<\/li>\n<li>marketing<\/li>\n<li>functional<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to \/wp-content\/plugins\/<\/li>\n<li>Activate the plugin through the WordPress Plugins screen<\/li>\n<li>Open Consent Manager from the WordPress dashboard<\/li>\n<li>Configure your cookie banner and consent preferences<\/li>\n<li>Run the Script Scanner<\/li>\n<li>Review detected services<\/li>\n<li>Enable Script Blocking if required<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20use%20truss%20consent%20manager%3F\"><h3>Why use Truss Consent Manager?<\/h3><\/dt>\n<dd><p>Truss Consent Manager combines cookie consent, script blocking, granular consent management, Google Consent Mode v2 support, and privacy compliance features in a lightweight plugin built specifically for WordPress and WooCommerce.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20make%20my%20site%20gdpr%20compliant%3F\"><h3>Does this plugin make my site GDPR compliant?<\/h3><\/dt>\n<dd><p>The plugin provides the technical infrastructure required for consent management, including a consent banner, script blocking, cookie preference controls, and Google Consent Mode v2 integration. Legal compliance depends on your configuration, privacy policy, and local regulations.<\/p><\/dd>\n<dt id=\"how%20does%20the%20script%20scanner%20work%3F\"><h3>How does the Script Scanner work?<\/h3><\/dt>\n<dd><p>The scanner uses a two-phase approach. First, it captures the real HTML output of your site's frontend using output buffering on wp_head and wp_footer and stores it in a transient. When you run a scan from the admin area, it analyses this captured output against a library of known tracker signatures. This approach is more accurate than remote HTTP fetching because it captures inline scripts, dynamically injected scripts, and WordPress-registered script handles.<\/p><\/dd>\n<dt id=\"does%20the%20script%20blocking%20engine%20break%20my%20site%3F\"><h3>Does the Script Blocking Engine break my site?<\/h3><\/dt>\n<dd><p>Script blocking can potentially interfere with checkout flows, forms, or analytics implementations if scripts are miscategorised. Always test on a staging site first. Essential WordPress core and WooCommerce functionality is never blocked.<\/p><\/dd>\n<dt id=\"how%20does%20the%20script%20blocking%20engine%20handle%20trackers%3F\"><h3>How does the Script Blocking Engine handle trackers?<\/h3><\/dt>\n<dd><p>The engine runs locally without cloud dependencies. Detected tracking scripts can be rewritten to type=\"text\/plain\" to prevent execution before consent. Once consent is granted, those scripts are reactivated automatically.<\/p><\/dd>\n<dt id=\"how%20does%20google%20consent%20mode%20v2%20integrate%20with%20gtm%3F\"><h3>How does Google Consent Mode v2 integrate with GTM?<\/h3><\/dt>\n<dd><p>The plugin injects the required gtag consent default call before Google Tag Manager loads. GTM reads the consent state from the dataLayer and updates automatically when visitor preferences change.<\/p><\/dd>\n<dt id=\"where%20is%20consent%20data%20stored%3F\"><h3>Where is consent data stored?<\/h3><\/dt>\n<dd><p>Consent preferences are stored in a first-party browser cookie named wpcm_consent. No consent data is sent to external servers by this plugin.<\/p>\n\n<p>Example:<\/p>\n\n<p>{\"necessary\":true,\"analytics\":true,\"marketing\":false,\"functional\":false}<\/p><\/dd>\n<dt id=\"does%20this%20consent%20manager%20work%20with%20woocommerce%3F\"><h3>Does this Consent Manager work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. The plugin is designed to work with WooCommerce and WordPress websites.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Added Google Consent Mode v2 integration<\/li>\n<li>Added consent signal mapping<\/li>\n<li>Added integration framework<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added Script Blocking Engine<\/li>\n<li>Added blocking_enabled setting<\/li>\n<li>Added wpcm_register_script() developer API<\/li>\n<li>Added server-side consent cookie checks<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added Script Scanner<\/li>\n<li>Added tracker detection system<\/li>\n<li>Added scanner administration interface<\/li>\n<li>Added Smart Toggle Visibility<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Cookie consent banner<\/li>\n<li>Multiple layout options<\/li>\n<li>Consent preferences<\/li>\n<li>Privacy policy integration<\/li>\n<\/ul>","raw_excerpt":"Consent Manager plugin for WordPress and WooCommerce with cookie consent banner, script blocking, consent management, Google Consent Mode v2, and priv &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/298912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=298912"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gutenplugins"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=298912"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=298912"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=298912"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=298912"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=298912"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=298912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}