[{"data":1,"prerenderedAt":278},["ShallowReactive",2],{"docs-\u002Fhealth-score\u002F":3},{"id":4,"title":5,"body":6,"breadcrumb":242,"coderail":249,"dateModified":262,"datePublished":262,"description":263,"extension":264,"meta":265,"navigation":266,"next":267,"path":269,"prev":270,"schemaType":273,"seo":274,"stem":275,"wide":276,"__hash__":277},"docs\u002Fhealth-score.md","Health score",{"type":7,"value":8,"toc":235},"minimark",[9,13,20,25,28,104,108,121,189,198,202,211,225],[10,11,12],"p",{},"A single number, 0 to 100, that captures the functional health of a GTM container. Same algorithm everywhere — dashboard, REST, MCP.",[14,15],"health-score-display",{":deductions":16,"grade":17,"label":18,"score":19},"{\"error\":0,\"warning\":4,\"optimization\":14,\"info\":0}","B","Healthy","82",[21,22,24],"h2",{"id":23},"grades","Grades",[10,26,27],{},"Letter grades match how teams already talk about quality. The thresholds are fixed.",[29,30,31,47],"table",{},[32,33,34],"thead",{},[35,36,37,41,44],"tr",{},[38,39,40],"th",{},"Grade",[38,42,43],{},"Range",[38,45,46],{},"Label",[48,49,50,62,71,82,93],"tbody",{},[35,51,52,56,59],{},[53,54,55],"td",{},"A",[53,57,58],{},"90 – 100",[53,60,61],{},"Well-Configured",[35,63,64,66,69],{},[53,65,17],{},[53,67,68],{},"75 – 89",[53,70,18],{},[35,72,73,76,79],{},[53,74,75],{},"C",[53,77,78],{},"60 – 74",[53,80,81],{},"Needs Attention",[35,83,84,87,90],{},[53,85,86],{},"D",[53,88,89],{},"45 – 59",[53,91,92],{},"Patterns Found",[35,94,95,98,101],{},[53,96,97],{},"F",[53,99,100],{},"0 – 44",[53,102,103],{},"Areas to Review",[21,105,107],{"id":106},"tiers","How deductions work",[10,109,110,111,115,116,120],{},"Findings carry a ",[112,113,114],"strong",{},"tier",". Each tier has a maximum total deduction so no single category can dominate the score. ",[117,118,119],"code",{},"info"," findings (hygiene suggestions like naming conventions) don't deduct at all — they appear in reports but are excluded from the number you compare across containers.",[29,122,123,136],{},[32,124,125],{},[35,126,127,130,133],{},[38,128,129],{},"Tier",[38,131,132],{},"Max deduction",[38,134,135],{},"Notes",[48,137,138,149,160,171],{},[35,139,140,143,146],{},[53,141,142],{},"error",[53,144,145],{},"35 pts",[53,147,148],{},"Hard cap. 8 points each.",[35,150,151,154,157],{},[53,152,153],{},"warning",[53,155,156],{},"20 pts",[53,158,159],{},"4 points each, linear up to the cap.",[35,161,162,165,168],{},[53,163,164],{},"optimization",[53,166,167],{},"25 pts",[53,169,170],{},"Diminishing returns — the 10th finding hurts less than the 1st.",[35,172,173,175,178],{},[53,174,119],{},[53,176,177],{},"0 pts",[53,179,180,181,184,185,188],{},"Informational only — takes no points off. Mostly hygiene rules. An info finding from a functional rule is still counted in ",[117,182,183],{},"functionalIssueCount"," and ",[117,186,187],{},"byCategory",".",[190,191,192],"callout",{},[10,193,194,197],{},[112,195,196],{},"Functional, not cosmetic."," Two containers with identical functional findings get the same score regardless of folder organization. Hygiene matters for humans, not for tag delivery.",[21,199,201],{"id":200},"bycategory","Per-category breakdown",[10,203,204,205,207,208,210],{},"The ",[117,206,187],{}," object on every score response counts findings per rule category. The values are numbers of findings, not points. Only findings from functional rules are counted. Findings from hygiene rules are left out. ",[117,209,183],{}," is the total of those counts.",[10,212,213,214,217,218,221,222,188],{},"In the example, one warning (4 points) and five optimization findings (14 points) give six scored findings: one in ",[117,215,216],{},"consent",", four in ",[117,219,220],{},"ga4",", one in ",[117,223,224],{},"ads",[10,226,227,228,230,231,234],{},"Use the counts to route alerts. A rise in ",[117,229,216],{}," can go to legal, a rise in ",[117,232,233],{},"performance"," to the web platform team.",{"title":236,"searchDepth":237,"depth":237,"links":238},"",2,[239,240,241],{"id":23,"depth":237,"text":24},{"id":106,"depth":237,"text":107},{"id":200,"depth":237,"text":201},[243,246,248],{"label":244,"href":245},"API Reference","\u002F",{"label":247},"Concepts",{"label":5},{"cards":250,"onpage":258},[251],{"title":252,"tabs":253},"Score response",[254],{"label":255,"language":256,"code":257},"JSON","json","{\n  \"score\": 82,\n  \"grade\": \"B\",\n  \"label\": \"Healthy\",\n  \"deductions\": {\n    \"error\": 0,\n    \"warning\": 4,\n    \"optimization\": 14,\n    \"info\": 0,\n    \"byCategory\": {\n      \"consent\": 1,\n      \"ga4\": 4,\n      \"ads\": 1\n    }\n  },\n  \"caps\": {\n    \"error\": 35,\n    \"warning\": 20,\n    \"optimization\": 25,\n    \"info\": 0\n  },\n  \"functionalIssueCount\": 6\n}\n",[259,260,261],{"id":23,"label":24},{"id":106,"label":107},{"id":200,"label":201},null,"A single 0–100 score for a GTM container. Tiered deductions, diminishing returns, hygiene rules excluded.","md",{},true,{"href":245,"title":268},"Introduction","\u002Fhealth-score",{"href":271,"title":272},"\u002Frules\u002F","Rules catalog","TechArticle",{"title":5,"description":263},"health-score",false,"cwHo7rgIRX_lOW5x8Q3Nr6uppOHrNMDQrG0qvHQxK3M",1796069482180]