[{"data":1,"prerenderedAt":312},["ShallowReactive",2],{"rule-consent-cmp-not-wired":3},{"id":4,"title":5,"body":6,"breadcrumb":275,"coderail":282,"dateModified":301,"datePublished":301,"description":302,"extension":303,"meta":304,"navigation":305,"next":301,"path":306,"prev":301,"schemaType":307,"seo":308,"stem":309,"wide":310,"__hash__":311},"docs\u002Frules\u002Fconsent-cmp-not-wired.md","CMP detected but consent mode not wired",{"type":7,"value":8,"toc":265},"minimark",[9,16,54,59,74,78,85,89,128,132,169,173,237,241],[10,11,12],"p",{},[13,14,15],"strong",{},"Summary",[17,18,19,30,36,42,48],"ul",{},[20,21,22,25,26],"li",{},[13,23,24],{},"rule_id"," — ",[27,28,29],"code",{},"consent-cmp-not-wired",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect containers where a CMP is present but tags are not configured to respect consent signals",[20,37,38,41],{},[13,39,40],{},"effect"," — Tags fire unconditionally regardless of the user's consent choice",[20,43,44,47],{},[13,45,46],{},"layer"," — container",[20,49,50,53],{},[13,51,52],{},"reversibility"," — non-destructive",[55,56,58],"h2",{"id":57},"what-fires-this","What fires this",[10,60,61,62,65,66,69,70,73],{},"The rule calls ",[27,63,64],{},"detectCMP()"," first. If no CMP is found, it exits immediately. When a CMP is detected, the rule counts all active (non-paused) tags and calculates the percentage where ",[27,67,68],{},"t.consent === 'NOT_SET'",". If that percentage exceeds 80%, the rule fires. The 80% threshold separates \"almost entirely unwired\" containers from partial-coverage gaps handled by ",[27,71,72],{},"consent-partial-coverage",". The CMP tag itself is included in the NOT_SET count — if the CMP tag is also NOT_SET, the container is genuinely unwired end-to-end.",[55,75,77],{"id":76},"why-it-matters","Why it matters",[10,79,80,81,84],{},"Installing a CMP and wiring it to GTM's Consent Mode are two separate steps. The CMP surfaces a consent banner and records the user's choices. GTM's per-tag consent configuration controls whether each tag actually honors those choices. A CMP without consent wiring shows a compliant-looking banner but lets all tags fire regardless — a pattern known as \"consent theater.\" Tags with ",[27,82,83],{},"NOT_SET"," bypass consent checks entirely. This is a critical gap under GDPR Art. 6 (lawful basis) and Art. 7 (consent), because data collection continues without a valid legal basis for visitors who decline.",[55,86,88],{"id":87},"example","Before \u002F after",[90,91,92,106],"compare",{},[93,94,96],"compare-col",{"label":95},"Before — CMP decorative",[10,97,98,99,102,103,105],{},"Tags have ",[27,100,101],{},"consent"," set to ",[27,104,83],{},". The CMP banner fires, the user declines, but ad and analytics tags fire anyway because GTM has no consent instructions to enforce.",[93,107,109],{"label":108},"After — CMP wired",[10,110,111,112,115,116,119,120,123,124,127],{},"Ad\u002Fconversion tags have Additional Consent Status set to ",[27,113,114],{},"NEEDED"," with type ",[27,117,118],{},"ad_storage",". Analytics tags require ",[27,121,122],{},"analytics_storage",". GTM blocks both tag types until the CMP issues a matching ",[27,125,126],{},"gtag('consent', 'update', {...})"," grant.",[55,129,131],{"id":130},"remediation","Remediation",[133,134,135,141,154,160,163,166],"ol",{},[20,136,137,138,140],{},"Confirm the CMP calls ",[27,139,126],{}," with the user's choices on both accept and decline.",[20,142,143,144,146,147,149,150,153],{},"Categorize every active tag: ad\u002Fconversion tags require ",[27,145,118],{},"; analytics tags require ",[27,148,122],{},"; personalization tags require ",[27,151,152],{},"personalization_storage",".",[20,155,156,157,159],{},"Open each tag's consent settings and set Additional Consent Status to ",[27,158,114],{}," with the appropriate consent type.",[20,161,162],{},"For native Google tags (GA4, Google Ads), verify Built-In Consent is enabled — explicit Additional consent wiring is still preferred for auditability.",[20,164,165],{},"Test in GTM Preview with the CMP set to \"deny all\" and confirm consent-gated tags do not fire.",[20,167,168],{},"Test with \"accept all\" and confirm tags fire as expected.",[55,170,172],{"id":171},"metadata","Metadata",[174,175,178,179,184,178,188,192,178,195,199,178,201,204,178,207,211,178,214,218,178,224,227,178,230,234],"dl",{"className":176},[177],"spec-list","\n  ",[180,181,183],"dt",{"id":182},"severity","Severity",[185,186,187],"dd",{},"critical",[180,189,191],{"id":190},"tier","Tier",[185,193,194],{},"warning",[180,196,198],{"id":197},"category","Category",[185,200,101],{},[180,202,203],{"id":46},"Layer",[185,205,206],{},"container",[180,208,210],{"id":209},"version","Version",[185,212,213],{},"1",[180,215,217],{"id":216},"effort","Effort",[185,219,220,223],{},[27,221,222],{},"2wk"," (about 2 weeks)",[180,225,226],{"id":52},"Reversibility",[185,228,229],{},"non-destructive",[180,231,233],{"id":232},"regulatory","Regulatory",[185,235,236],{},"GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent)",[55,238,240],{"id":239},"see-also","See also",[17,242,243,251,258],{},[20,244,245,250],{},[246,247,249],"a",{"href":248},"\u002Fcategories\u002Fconsent\u002F","Consent rules"," — other rules in this category",[20,252,253,257],{},[246,254,256],{"href":255},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,259,260,264],{},[246,261,263],{"href":262},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":266,"searchDepth":267,"depth":267,"links":268},"",2,[269,270,271,272,273,274],{"id":57,"depth":267,"text":58},{"id":76,"depth":267,"text":77},{"id":87,"depth":267,"text":88},{"id":130,"depth":267,"text":131},{"id":171,"depth":267,"text":172},{"id":239,"depth":267,"text":240},[276,279,281],{"label":277,"href":278},"API Reference","\u002F",{"label":280,"href":262},"Rules",{"label":29},{"cards":283,"onpage":295},[284],{"title":285,"tabs":286},"Evaluate",[287,291],{"label":288,"language":289,"code":290},"cURL","bash","curl https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fevaluate-rule \\\n  -H \"Authorization: Bearer $TM_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"rule_id\":\"consent-cmp-not-wired\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":292,"language":293,"code":294},"MCP","text","User: Run consent-cmp-not-wired on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"consent-cmp-not-wired\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[296,297,298,299,300],{"id":57,"label":58},{"id":76,"label":77},{"id":87,"label":88},{"id":130,"label":131},{"id":171,"label":172},null,"A CMP is installed but 80%+ of tags have no consent configuration, making the CMP effectively decorative.","md",{},true,"\u002Frules\u002Fconsent-cmp-not-wired","TechArticle",{"title":5,"description":302},"rules\u002Fconsent-cmp-not-wired",false,"YDdgQv9wm9v2bGGlzdoRwAh4AZZ7UACX4cHHD_ApgHU",1796069483271]