[{"data":1,"prerenderedAt":332},["ShallowReactive",2],{"rule-naming-no-convention":3},{"id":4,"title":5,"body":6,"breadcrumb":295,"coderail":302,"dateModified":321,"datePublished":321,"description":322,"extension":323,"meta":324,"navigation":325,"next":321,"path":326,"prev":321,"schemaType":327,"seo":328,"stem":329,"wide":330,"__hash__":331},"docs\u002Frules\u002Fnaming-no-convention.md","Tags without structured naming convention",{"type":7,"value":8,"toc":285},"minimark",[9,16,54,59,70,74,77,81,150,154,195,199,257,261],[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",{},"naming-no-convention",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect containers where most active tags lack a structured naming separator",[20,37,38,41],{},[13,39,40],{},"effect"," — Tags are difficult to filter, search, and audit without a consistent naming pattern",[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],{},"The rule filters active (non-paused) tags and checks each tag name against a separator pattern. The pattern accepts space-padded forms (",[27,63,64],{},"GA4 - Event - Purchase",") and no-space forms (",[27,67,68],{},"GA4-Event-Purchase","). The rule fires only when two thresholds are both met: at least 5 tags fail the separator check, and those tags represent 40% or more of all active tags. Containers with 8 or fewer active tags are skipped — no convention can be established at that scale.",[55,71,73],{"id":72},"why-it-matters","Why it matters",[10,75,76],{},"Unstructured tag names make routine container work slower and error-prone. Filtering by platform, type, or action in the GTM (Google Tag Manager) UI relies on predictable name segments. Without separators, auditors must read every tag name individually to determine scope. When containers grow or change ownership, undocumented naming increases the risk of duplicate or conflicting tags. Renaming tags is non-destructive and does not affect firing behavior.",[55,78,80],{"id":79},"example","Before \u002F after",[82,83,84,118],"compare",{},[85,86,88,91],"compare-col",{"label":87},"Before — flagged",[10,89,90],{},"Tags named without separators:",[17,92,93,98,103,108,113],{},[20,94,95],{},[27,96,97],{},"GA4 purchase",[20,99,100],{},[27,101,102],{},"Google Ads conversion",[20,104,105],{},[27,106,107],{},"Meta pixel pageview",[20,109,110],{},[27,111,112],{},"Hotjar recording",[20,114,115],{},[27,116,117],{},"LinkedIn insight",[85,119,121,124],{"label":120},"After — fixed",[10,122,123],{},"Tags renamed with a consistent separator convention:",[17,125,126,130,135,140,145],{},[20,127,128],{},[27,129,64],{},[20,131,132],{},[27,133,134],{},"Google Ads - Conversion - Checkout",[20,136,137],{},[27,138,139],{},"Meta - Pixel - Pageview",[20,141,142],{},[27,143,144],{},"Hotjar - Session - Recording",[20,146,147],{},[27,148,149],{},"LinkedIn - Insight - All Pages",[55,151,153],{"id":152},"remediation","Remediation",[155,156,157,172,183,186,189,192],"ol",{},[20,158,159,160,163,164,167,168,171],{},"Choose a separator style for the container: space-dash-space (",[27,161,162],{},"-","), pipe (",[27,165,166],{},"|","), or colon (",[27,169,170],{},":","). Pick one and document it in a container description or internal wiki.",[20,173,174,175,178,179,182],{},"Decide on a naming structure, for example ",[27,176,177],{},"Platform - Type - Action"," or ",[27,180,181],{},"Vendor - Tag Type - Trigger Scope",".",[20,184,185],{},"Open GTM and filter active tags by the tag names listed in the issue payload.",[20,187,188],{},"Rename each flagged tag to match the chosen pattern.",[20,190,191],{},"Confirm whether paused tags should be renamed or deleted before reactivation.",[20,193,194],{},"Publish a versioned container snapshot after renaming so the change is auditable.",[55,196,198],{"id":197},"metadata","Metadata",[200,201,204,205,210,204,214,218,204,221,225,204,228,231,204,234,238,204,241,245,204,251,254],"dl",{"className":202},[203],"spec-list","\n  ",[206,207,209],"dt",{"id":208},"severity","Severity",[211,212,213],"dd",{},"medium",[206,215,217],{"id":216},"tier","Tier",[211,219,220],{},"info",[206,222,224],{"id":223},"category","Category",[211,226,227],{},"organization",[206,229,230],{"id":46},"Layer",[211,232,233],{},"container",[206,235,237],{"id":236},"version","Version",[211,239,240],{},"1",[206,242,244],{"id":243},"effort","Effort",[211,246,247,250],{},[27,248,249],{},"2hr"," (about 2 hours)",[206,252,253],{"id":52},"Reversibility",[211,255,256],{},"non-destructive",[55,258,260],{"id":259},"see-also","See also",[17,262,263,271,278],{},[20,264,265,270],{},[266,267,269],"a",{"href":268},"\u002Fcategories\u002Forganization\u002F","Organization rules"," — other rules in this category",[20,272,273,277],{},[266,274,276],{"href":275},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,279,280,284],{},[266,281,283],{"href":282},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":286,"searchDepth":287,"depth":287,"links":288},"",2,[289,290,291,292,293,294],{"id":57,"depth":287,"text":58},{"id":72,"depth":287,"text":73},{"id":79,"depth":287,"text":80},{"id":152,"depth":287,"text":153},{"id":197,"depth":287,"text":198},{"id":259,"depth":287,"text":260},[296,299,301],{"label":297,"href":298},"API Reference","\u002F",{"label":300,"href":282},"Rules",{"label":29},{"cards":303,"onpage":315},[304],{"title":305,"tabs":306},"Evaluate",[307,311],{"label":308,"language":309,"code":310},"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\":\"naming-no-convention\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":312,"language":313,"code":314},"MCP","text","User: Run naming-no-convention on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"naming-no-convention\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[316,317,318,319,320],{"id":57,"label":58},{"id":72,"label":73},{"id":79,"label":80},{"id":152,"label":153},{"id":197,"label":198},null,"5+ active tags lack a structured naming separator ( - , – , | , : ). A consistent naming convention makes the container easier to navigate, filter, and audit.","md",{},true,"\u002Frules\u002Fnaming-no-convention","TechArticle",{"title":5,"description":322},"rules\u002Fnaming-no-convention",false,"mQ8i6yo-929CLGmF8-NeAiTPqBoVmFJxT-_Whc4OH1I",1796069484051]