[{"data":1,"prerenderedAt":336},["ShallowReactive",2],{"rule-no-consent-ad-tags":3},{"id":4,"title":5,"body":6,"breadcrumb":300,"coderail":307,"dateModified":325,"datePublished":325,"description":326,"extension":327,"meta":328,"navigation":329,"next":325,"path":330,"prev":325,"schemaType":331,"seo":332,"stem":333,"wide":334,"__hash__":335},"docs\u002Frules\u002Fno-consent-ad-tags.md","Ad tags firing without consent",{"type":7,"value":8,"toc":291},"minimark",[9,16,54,59,110,114,125,129,155,159,195,199,263,267],[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",{},"no-consent-ad-tags",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect advertising and conversion tags that fire without a consent configuration in GTM",[20,37,38,41],{},[13,39,40],{},"effect"," — Tags send tracking data before or regardless of user consent",[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,77,78,81,82,81,85,81,88,81,91,81,94,81,97,81,100,81,103,81,106,109],{},"The rule checks all active (non-paused) tags whose ",[27,63,64],{},"consent"," field is ",[27,67,68],{},"NOT_NEEDED"," or ",[27,71,72],{},"NOT_SET",". A tag matches if its ",[27,75,76],{},"type"," is in the known ad-tag type list (",[27,79,80],{},"awct",", ",[27,83,84],{},"sp",[27,86,87],{},"bzi",[27,89,90],{},"flc",[27,92,93],{},"fls",[27,95,96],{},"baut",[27,98,99],{},"pntr",[27,101,102],{},"crto",[27,104,105],{},"hjtc",[27,107,108],{},"qpx",") or its name matches an advertising keyword pattern (Google Ads, Microsoft UET, LinkedIn, Meta Pixel, TikTok, Criteo, Clarity, ZoomInfo, 6sense, and others). Matched tags split into two groups: native Google tags with Built-In consent active produce a low-severity informational issue; all other matched tags produce a high-severity issue.",[55,111,113],{"id":112},"why-it-matters","Why it matters",[10,115,116,117,120,121,124],{},"Ad and conversion tags collect behavioral data tied to identifiable users. Firing them without a consent gate means data flows to ad platforms before — or regardless of — consent state. A page-level CMP may block the tags at runtime, but GTM (Google Tag Manager) has no way to verify that. If the CMP is misconfigured or absent, the tags fire unconditionally. Native Google templates (Ads Conversion, Remarketing, GA4, Conversion Linker) are an exception: their Built-In consent checks ",[27,118,119],{},"ad_storage"," and ",[27,122,123],{},"analytics_storage"," automatically. Custom HTML and third-party templates have no equivalent enforcement inside GTM. Regulatory: GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent).",[55,126,128],{"id":127},"example","Before \u002F after",[130,131,132,146],"compare",{},[133,134,136],"compare-col",{"label":135},"Before — flagged",[137,138,144],"pre",{"className":139,"code":141,"language":142,"meta":143},[140],"language-text","Tag: \"LinkedIn Insight Tag\"\nType: LinkedIn — matches ad keyword pattern\nAdditional consent: NOT_SET\nBuilt-In consent: none\nFires on every page load with no consent gate in GTM\n","text","",[27,145,141],{"__ignoreMap":143},[133,147,149],{"label":148},"After — fixed",[137,150,153],{"className":151,"code":152,"language":142,"meta":143},[140],"Tag: \"LinkedIn Insight Tag\"\nType: LinkedIn\nAdditional consent: NEEDED\nConsent types required: ad_storage\nGTM checks ad_storage signal before firing;\ntag is blocked when consent is denied\n",[27,154,152],{"__ignoreMap":143},[55,156,158],{"id":157},"remediation","Remediation",[160,161,162,165,183,186,189,192],"ol",{},[20,163,164],{},"Open GTM and locate each tag listed in the issue detail.",[20,166,167,168,171,172,175,176,179,180,182],{},"For each Custom HTML or non-Google template tag: open the tag, go to ",[13,169,170],{},"Consent Settings",", set ",[13,173,174],{},"Additional consent checks"," to ",[13,177,178],{},"Require additional consent",", and add ",[27,181,119],{},".",[20,184,185],{},"Publish the updated container.",[20,187,188],{},"Confirm in GTM Preview mode that the tag fires only after consent is granted.",[20,190,191],{},"If consent is managed entirely outside GTM by a CMP, confirm with your CMP vendor that these tag types are covered by its blocking layer.",[20,193,194],{},"For native Google tags flagged at low severity: no action is required. Built-In consent handles enforcement. Adding Additional consent is optional and creates a second gate.",[55,196,198],{"id":197},"metadata","Metadata",[200,201,204,205,210,204,214,218,204,221,225,204,227,230,204,233,237,204,240,244,204,250,253,204,256,260],"dl",{"className":202},[203],"spec-list","\n  ",[206,207,209],"dt",{"id":208},"severity","Severity",[211,212,213],"dd",{},"high",[206,215,217],{"id":216},"tier","Tier",[211,219,220],{},"optimization",[206,222,224],{"id":223},"category","Category",[211,226,64],{},[206,228,229],{"id":46},"Layer",[211,231,232],{},"container",[206,234,236],{"id":235},"version","Version",[211,238,239],{},"1",[206,241,243],{"id":242},"effort","Effort",[211,245,246,249],{},[27,247,248],{},"15min"," (about 15 minutes)",[206,251,252],{"id":52},"Reversibility",[211,254,255],{},"non-destructive",[206,257,259],{"id":258},"regulatory","Regulatory",[211,261,262],{},"GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent)",[55,264,266],{"id":265},"see-also","See also",[17,268,269,277,284],{},[20,270,271,276],{},[272,273,275],"a",{"href":274},"\u002Fcategories\u002Fconsent\u002F","Consent rules"," — other rules in this category",[20,278,279,283],{},[272,280,282],{"href":281},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,285,286,290],{},[272,287,289],{"href":288},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":143,"searchDepth":292,"depth":292,"links":293},2,[294,295,296,297,298,299],{"id":57,"depth":292,"text":58},{"id":112,"depth":292,"text":113},{"id":127,"depth":292,"text":128},{"id":157,"depth":292,"text":158},{"id":197,"depth":292,"text":198},{"id":265,"depth":292,"text":266},[301,304,306],{"label":302,"href":303},"API Reference","\u002F",{"label":305,"href":288},"Rules",{"label":29},{"cards":308,"onpage":319},[309],{"title":310,"tabs":311},"Evaluate",[312,316],{"label":313,"language":314,"code":315},"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\":\"no-consent-ad-tags\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":317,"language":142,"code":318},"MCP","User: Run no-consent-ad-tags on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"no-consent-ad-tags\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[320,321,322,323,324],{"id":57,"label":58},{"id":112,"label":113},{"id":127,"label":128},{"id":157,"label":158},{"id":197,"label":198},null,"Advertising and conversion tags have no Additional consent configured. For native Google tags (Ads Conversion, Remarketing, GA4), Built-In consent automatically enforces the correct consent signals — NOT_NEEDED is Google's recommended setup. For Custom HTML and non-Google templates, this is a real gap.","md",{},true,"\u002Frules\u002Fno-consent-ad-tags","TechArticle",{"title":5,"description":326},"rules\u002Fno-consent-ad-tags",false,"SrB6MJNzghTBi1mtcgKArD8nVi2bIhocl1y38pZBxJA",1796069483410]