[{"data":1,"prerenderedAt":301},["ShallowReactive",2],{"rule-stale-paused-tags":3},{"id":4,"title":5,"body":6,"breadcrumb":264,"coderail":271,"dateModified":290,"datePublished":290,"description":291,"extension":292,"meta":293,"navigation":294,"next":290,"path":295,"prev":290,"schemaType":296,"seo":297,"stem":298,"wide":299,"__hash__":300},"docs\u002Frules\u002Fstale-paused-tags.md","Paused tags older than 6 months",{"type":7,"value":8,"toc":254},"minimark",[9,16,54,59,100,104,107,111,130,134,164,168,226,230],[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",{},"stale-paused-tags",[20,31,32,35],{},[13,33,34],{},"purpose"," — Identify paused tags that have not been active for over 6 months",[20,37,38,41],{},[13,39,40],{},"effect"," — Unreviewed paused tags accumulate as dead weight, obscuring container intent and complicating audits",[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,84,85,88,89,88,92,95,96,99],{},"The rule iterates all tags and filters for those where ",[27,63,64],{},"t.paused"," is ",[27,67,68],{},"true"," and ",[27,71,72],{},"t.fingerprintDate"," is present. It converts ",[27,75,76],{},"fingerprintDate"," to a ",[27,79,80],{},"Date"," object — the field may arrive as an ISO string in Edge Function context — and compares it against a threshold 6 months prior to the current date. Tags without a ",[27,83,76],{}," are excluded; the absence of a fingerprint means no signal, not confirmed age. Every tag that passes both conditions is included in the issue payload with its ",[27,86,87],{},"id",", ",[27,90,91],{},"name",[27,93,94],{},"type",", and ",[27,97,98],{},"lastModified"," date.",[55,101,103],{"id":102},"why-it-matters","Why it matters",[10,105,106],{},"Paused tags are not deleted — they remain in the container, consume version history, and appear in export snapshots. A tag paused during a prior campaign that has sat untouched for six months is almost certainly dead code. Leaving it paused creates ambiguity: future operators cannot tell whether the tag was intentionally preserved or simply forgotten. Removing confirmed stale tags reduces container size, shortens audit scope, and prevents accidental re-activation during workspace merges or bulk-enable operations.",[55,108,110],{"id":109},"example","Before \u002F after",[112,113,114,124],"compare",{},[115,116,118],"compare-col",{"label":117},"Before — flagged",[10,119,120,121,123],{},"Tag \"LinkedIn Insight — Q3 Retargeting\" has been paused since 2025-08-14. It fires on no triggers and references a campaign that ended. ",[27,122,76],{}," shows no container touch in over 9 months.",[115,125,127],{"label":126},"After — pruned",[10,128,129],{},"Tag deleted after stakeholder confirmation. If the campaign returns, a new tag will be created from the current template with up-to-date configuration.",[55,131,133],{"id":132},"remediation","Remediation",[135,136,137,146,149,152,155,158,161],"ol",{},[20,138,139,140,69,143,145],{},"Open the flagged tag list from the rule output; each entry includes ",[27,141,142],{},"tagName",[27,144,98],{},".",[20,147,148],{},"Cross-reference each tag against active campaigns, contracts, or roadmap items.",[20,150,151],{},"Check the container version history for context on why the tag was paused.",[20,153,154],{},"Confirm with the relevant stakeholder whether the tag is still needed.",[20,156,157],{},"Delete tags that have no confirmed future use.",[20,159,160],{},"For tags that may return, add a note to the tag description with a review date and leave them paused.",[20,162,163],{},"Publish the container after removals to register the cleanup in version history.",[55,165,167],{"id":166},"metadata","Metadata",[169,170,173,174,179,173,183,187,173,190,194,173,197,200,173,203,207,173,210,214,173,220,223],"dl",{"className":171},[172],"spec-list","\n  ",[175,176,178],"dt",{"id":177},"severity","Severity",[180,181,182],"dd",{},"medium",[175,184,186],{"id":185},"tier","Tier",[180,188,189],{},"optimization",[175,191,193],{"id":192},"category","Category",[180,195,196],{},"dead-code",[175,198,199],{"id":46},"Layer",[180,201,202],{},"container",[175,204,206],{"id":205},"version","Version",[180,208,209],{},"1",[175,211,213],{"id":212},"effort","Effort",[180,215,216,219],{},[27,217,218],{},"15min"," (about 15 minutes)",[175,221,222],{"id":52},"Reversibility",[180,224,225],{},"non-destructive",[55,227,229],{"id":228},"see-also","See also",[17,231,232,240,247],{},[20,233,234,239],{},[235,236,238],"a",{"href":237},"\u002Fcategories\u002Fdead-code\u002F","Dead-code rules"," — other rules in this category",[20,241,242,246],{},[235,243,245],{"href":244},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,248,249,253],{},[235,250,252],{"href":251},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":255,"searchDepth":256,"depth":256,"links":257},"",2,[258,259,260,261,262,263],{"id":57,"depth":256,"text":58},{"id":102,"depth":256,"text":103},{"id":109,"depth":256,"text":110},{"id":132,"depth":256,"text":133},{"id":166,"depth":256,"text":167},{"id":228,"depth":256,"text":229},[265,268,270],{"label":266,"href":267},"API Reference","\u002F",{"label":269,"href":251},"Rules",{"label":29},{"cards":272,"onpage":284},[273],{"title":274,"tabs":275},"Evaluate",[276,280],{"label":277,"language":278,"code":279},"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\":\"stale-paused-tags\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":281,"language":282,"code":283},"MCP","text","User: Run stale-paused-tags on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"stale-paused-tags\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[285,286,287,288,289],{"id":57,"label":58},{"id":102,"label":103},{"id":109,"label":110},{"id":132,"label":133},{"id":166,"label":167},null,"Tags have been paused for over 6 months. If they haven't been needed in that time, they should be removed rather than left paused.","md",{},true,"\u002Frules\u002Fstale-paused-tags","TechArticle",{"title":5,"description":291},"rules\u002Fstale-paused-tags",false,"ut0tRSIYTiNHbUHW9vR9CfhhKIw8PEf8R4tOfa2066k",1796069483462]