[{"data":1,"prerenderedAt":361},["ShallowReactive",2],{"rule-consent-partial-coverage":3},{"id":4,"title":5,"body":6,"breadcrumb":324,"coderail":331,"dateModified":350,"datePublished":350,"description":351,"extension":352,"meta":353,"navigation":354,"next":350,"path":355,"prev":350,"schemaType":356,"seo":357,"stem":358,"wide":359,"__hash__":360},"docs\u002Frules\u002Fconsent-partial-coverage.md","CMP detected but some tags have no consent configured",{"type":7,"value":8,"toc":314},"minimark",[9,16,54,59,105,109,112,116,184,188,217,221,286,290],[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-partial-coverage",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect containers where a CMP is present but 1–80% of active tags remain at NOT_SET",[20,37,38,41],{},[13,39,40],{},"effect"," — Those tags fire regardless of the user's consent choice, bypassing CMP control",[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,74,76,77,80,81,84,85,84,88,84,91,84,94,84,97,100,101,104],{},"The rule calls ",[27,63,64],{},"detectCMP()"," and exits immediately if no CMP is found. When a CMP is present, it counts all active (non-paused) tags where ",[27,67,68],{},"consent === 'NOT_SET'",", excluding the CMP tag itself by ID. The NOT_SET percentage is calculated across active tags. The rule fires only when that percentage is from 1% to 80% inclusive, after rounding to a whole percent. Above 80% this rule is silent and the more severe ",[27,71,72],{},"consent-cmp-not-wired"," takes over. The two count differently: ",[27,75,72],{}," includes the CMP tag in its NOT_SET count and this rule leaves it out, so a container whose CMP tag is itself NOT_SET can trigger both near the boundary. Within the finding, the rule identifies ad and tracking tags in the NOT_SET set by matching against known tag types, a keyword pattern on tag names, and ",[27,78,79],{},"codeAnalysis"," flags including ",[27,82,83],{},"hasFbq",", ",[27,86,87],{},"hasLintrk",[27,89,90],{},"hasTtq",[27,92,93],{},"hasSnaptr",[27,95,96],{},"hasRdt",[27,98,99],{},"hasTwq",", and ",[27,102,103],{},"hasPintrk",".",[55,106,108],{"id":107},"why-it-matters","Why it matters",[10,110,111],{},"Tags at NOT_SET bypass the CMP entirely. The CMP only gates tags configured with NEEDED — it has no effect on NOT_SET tags. This is a common outcome of incremental compliance work: GA4 and Google Ads were wired during a project, but the container kept growing and new tags were never configured. Ad pixels and behavioral trackers in the NOT_SET set collect data for targeting without a consent gate — the highest-risk subset. Regulatory: GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent).",[55,113,115],{"id":114},"example","Before \u002F after",[117,118,119,150],"compare",{},[120,121,123,126,147],"compare-col",{"label":122},"Before — partial coverage",[10,124,125],{},"Four tags in the container. CMP is present.",[17,127,128,135,141,144],{},[20,129,130,131,134],{},"GA4 Configuration — consent: NEEDED (",[27,132,133],{},"analytics_storage",")",[20,136,137,138,134],{},"Google Ads Conversion — consent: NEEDED (",[27,139,140],{},"ad_storage",[20,142,143],{},"LinkedIn Insight Tag — consent: NOT_SET",[20,145,146],{},"Meta Pixel (Custom HTML) — consent: NOT_SET",[10,148,149],{},"LinkedIn and Meta fire on every page load, consent or not.",[120,151,153,156,181],{"label":152},"After — uniform coverage",[10,154,155],{},"All four tags consent-wired.",[17,157,158,162,166,174],{},[20,159,130,160,134],{},[27,161,133],{},[20,163,137,164,134],{},[27,165,140],{},[20,167,168,169,84,171,134],{},"LinkedIn Insight Tag — consent: NEEDED (",[27,170,140],{},[27,172,173],{},"ad_user_data",[20,175,176,177,84,179,134],{},"Meta Pixel (Custom HTML) — consent: NEEDED (",[27,178,140],{},[27,180,173],{},[10,182,183],{},"CMP now controls the full tag set.",[55,185,187],{"id":186},"remediation","Remediation",[189,190,191,194,197,206,211,214],"ol",{},[20,192,193],{},"Open the finding and note every tag listed at NOT_SET.",[20,195,196],{},"Prioritize the ad and tracking subset the rule surfaces — these carry the highest regulatory exposure.",[20,198,199,200,202,203,205],{},"For each ad or tracking tag at NOT_SET: set consent to NEEDED, add ",[27,201,140],{},", and add ",[27,204,173],{}," if the tag sends user identifiers.",[20,207,208,209,104],{},"For analytics tags at NOT_SET: set consent to NEEDED and add ",[27,210,133],{},[20,212,213],{},"For utility tags (session replay, chat widgets): determine whether they collect personal data. If yes, set NEEDED with the appropriate category. If no, set NOT_NEEDED to make the decision explicit.",[20,215,216],{},"Verify no active tags remain at NOT_SET after completing the above steps.",[55,218,220],{"id":219},"metadata","Metadata",[222,223,226,227,232,226,236,240,226,243,247,226,250,253,226,256,260,226,263,267,226,273,276,226,279,283],"dl",{"className":224},[225],"spec-list","\n  ",[228,229,231],"dt",{"id":230},"severity","Severity",[233,234,235],"dd",{},"medium",[228,237,239],{"id":238},"tier","Tier",[233,241,242],{},"optimization",[228,244,246],{"id":245},"category","Category",[233,248,249],{},"consent",[228,251,252],{"id":46},"Layer",[233,254,255],{},"container",[228,257,259],{"id":258},"version","Version",[233,261,262],{},"1",[228,264,266],{"id":265},"effort","Effort",[233,268,269,272],{},[27,270,271],{},"2hr"," (about 2 hours)",[228,274,275],{"id":52},"Reversibility",[233,277,278],{},"non-destructive",[228,280,282],{"id":281},"regulatory","Regulatory",[233,284,285],{},"GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent)",[55,287,289],{"id":288},"see-also","See also",[17,291,292,300,307],{},[20,293,294,299],{},[295,296,298],"a",{"href":297},"\u002Fcategories\u002Fconsent\u002F","Consent rules"," — other rules in this category",[20,301,302,306],{},[295,303,305],{"href":304},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,308,309,313],{},[295,310,312],{"href":311},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":315,"searchDepth":316,"depth":316,"links":317},"",2,[318,319,320,321,322,323],{"id":57,"depth":316,"text":58},{"id":107,"depth":316,"text":108},{"id":114,"depth":316,"text":115},{"id":186,"depth":316,"text":187},{"id":219,"depth":316,"text":220},{"id":288,"depth":316,"text":289},[325,328,330],{"label":326,"href":327},"API Reference","\u002F",{"label":329,"href":311},"Rules",{"label":29},{"cards":332,"onpage":344},[333],{"title":334,"tabs":335},"Evaluate",[336,340],{"label":337,"language":338,"code":339},"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-partial-coverage\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":341,"language":342,"code":343},"MCP","text","User: Run consent-partial-coverage on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"consent-partial-coverage\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[345,346,347,348,349],{"id":57,"label":58},{"id":107,"label":108},{"id":114,"label":115},{"id":186,"label":187},{"id":219,"label":220},null,"A CMP is present and some tags have consent configured, but 1-80% of tags remain at NOT_SET. Ad and tracking tags without consent are highlighted.","md",{},true,"\u002Frules\u002Fconsent-partial-coverage","TechArticle",{"title":5,"description":351},"rules\u002Fconsent-partial-coverage",false,"BDoSMqwt1N925fM63GOAm83T62IrA7XdObKU9wAclSs",1796069483378]