[{"data":1,"prerenderedAt":294},["ShallowReactive",2],{"rule-ad-tag-proliferation":3},{"id":4,"title":5,"body":6,"breadcrumb":257,"coderail":264,"dateModified":283,"datePublished":283,"description":284,"extension":285,"meta":286,"navigation":287,"next":283,"path":288,"prev":283,"schemaType":289,"seo":290,"stem":291,"wide":292,"__hash__":293},"docs\u002Frules\u002Fad-tag-proliferation.md","Ad tag proliferation — consolidation opportunity",{"type":7,"value":8,"toc":247},"minimark",[9,16,54,59,102,106,109,113,129,133,157,161,219,223],[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",{},"ad-tag-proliferation",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect ad platforms with excessive tag counts that can be consolidated",[20,37,38,41],{},[13,39,40],{},"effect"," — Many individual tags per platform create configuration drift and maintenance overhead",[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,85,86,89,90,93,94,97,98,101],{},"The rule counts active tags per ad platform in two buckets. Native tags are those with ",[27,63,64],{},"adPlatform"," metadata set by the parser. Custom HTML tags are counted separately using init\u002Fload pattern matching for seven platforms: Meta (",[27,67,68],{},"fbq('init'","), LinkedIn (",[27,71,72],{},"_linkedin_data_partner_id","), TikTok (",[27,75,76],{},"ttq.load","), Snapchat (",[27,79,80],{},"snaptr('init'","), Reddit (",[27,83,84],{},"rdt('init'","), Twitter\u002FX (",[27,87,88],{},"twq('config'"," or ",[27,91,92],{},"twq('init'","), and Pinterest (",[27,95,96],{},"pintrk('load'","). Event-only calls such as ",[27,99,100],{},"fbq('track', 'Purchase')"," are excluded — the rule targets base pixel proliferation, not correct per-event tagging. The rule fires when any single platform reaches 10 or more native tags, or 5 or more Custom HTML base pixel tags. Paused tags are excluded from both counts.",[55,103,105],{"id":104},"why-it-matters","Why it matters",[10,107,108],{},"Many individual tags for the same platform create configuration drift. Each tag can carry slightly different settings. When one tag is updated but another is not, conversion data diverges silently. A single consolidated tag using a Lookup Table variable for conversion IDs is functionally equivalent — and far easier to audit. The refactor is non-destructive: pausing old tags before removal preserves one reporting cycle of continuity.",[55,110,112],{"id":111},"example","Before \u002F after",[114,115,116,123],"compare",{},[117,118,120],"compare-col",{"label":119},"Before — proliferation",[10,121,122],{},"12 LinkedIn Insight tags, each with a different conversion ID hardcoded in the tag config, all firing on the same page-load trigger.",[117,124,126],{"label":125},"After — consolidated",[10,127,128],{},"One LinkedIn Insight tag using a Lookup Table variable that maps page path or event name to the correct conversion ID.",[55,130,132],{"id":131},"remediation","Remediation",[134,135,136,139,142,145,148,151,154],"ol",{},[20,137,138],{},"Open the flagged platform's tag list and record every unique conversion ID and label combination.",[20,140,141],{},"Create a GTM (Google Tag Manager) Lookup Table variable. Map a trigger condition — page path or event name — to the correct conversion ID.",[20,143,144],{},"Create a second Lookup Table for conversion labels if applicable.",[20,146,147],{},"Consolidate into a single native ad conversion tag that references both Lookup Table variables.",[20,149,150],{},"Build a single trigger or trigger group covering all relevant conversion pages and events.",[20,152,153],{},"Test each conversion scenario in preview mode to confirm correct ID and label resolution.",[20,155,156],{},"Pause the old individual tags, then remove them after one full reporting cycle confirms data continuity.",[55,158,160],{"id":159},"metadata","Metadata",[162,163,166,167,172,166,176,180,166,183,187,166,190,193,166,196,200,166,203,207,166,213,216],"dl",{"className":164},[165],"spec-list","\n  ",[168,169,171],"dt",{"id":170},"severity","Severity",[173,174,175],"dd",{},"medium",[168,177,179],{"id":178},"tier","Tier",[173,181,182],{},"optimization",[168,184,186],{"id":185},"category","Category",[173,188,189],{},"ads",[168,191,192],{"id":46},"Layer",[173,194,195],{},"container",[168,197,199],{"id":198},"version","Version",[173,201,202],{},"1",[168,204,206],{"id":205},"effort","Effort",[173,208,209,212],{},[27,210,211],{},"2wk"," (about 2 weeks)",[168,214,215],{"id":52},"Reversibility",[173,217,218],{},"non-destructive",[55,220,222],{"id":221},"see-also","See also",[17,224,225,233,240],{},[20,226,227,232],{},[228,229,231],"a",{"href":230},"\u002Fcategories\u002Fads\u002F","Ads rules"," — other rules in this category",[20,234,235,239],{},[228,236,238],{"href":237},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,241,242,246],{},[228,243,245],{"href":244},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":248,"searchDepth":249,"depth":249,"links":250},"",2,[251,252,253,254,255,256],{"id":57,"depth":249,"text":58},{"id":104,"depth":249,"text":105},{"id":111,"depth":249,"text":112},{"id":131,"depth":249,"text":132},{"id":159,"depth":249,"text":160},{"id":221,"depth":249,"text":222},[258,261,263],{"label":259,"href":260},"API Reference","\u002F",{"label":262,"href":244},"Rules",{"label":29},{"cards":265,"onpage":277},[266],{"title":267,"tabs":268},"Evaluate",[269,273],{"label":270,"language":271,"code":272},"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\":\"ad-tag-proliferation\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":274,"language":275,"code":276},"MCP","text","User: Run ad-tag-proliferation on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"ad-tag-proliferation\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[278,279,280,281,282],{"id":57,"label":58},{"id":104,"label":105},{"id":111,"label":112},{"id":131,"label":132},{"id":159,"label":160},null,"Flags ad platforms that have 10 or more native tags or 5 or more Custom HTML base pixel tags, indicating a consolidation opportunity.","md",{},true,"\u002Frules\u002Fad-tag-proliferation","TechArticle",{"title":5,"description":284},"rules\u002Fad-tag-proliferation",false,"tV5ODV0Ghi13jaSEZtmfHxeJfdJ9Jv6KjCOIOOZ-mMc",1796069483118]