[{"data":1,"prerenderedAt":289},["ShallowReactive",2],{"rule-no-analytics-platform":3},{"id":4,"title":5,"body":6,"breadcrumb":252,"coderail":259,"dateModified":278,"datePublished":278,"description":279,"extension":280,"meta":281,"navigation":282,"next":278,"path":283,"prev":278,"schemaType":284,"seo":285,"stem":286,"wide":287,"__hash__":288},"docs\u002Frules\u002Fno-analytics-platform.md","No analytics platform detected",{"type":7,"value":8,"toc":242},"minimark",[9,16,54,59,82,86,89,93,117,121,152,156,214,218],[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-analytics-platform",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect containers with active tags but no analytics measurement platform",[20,37,38,41],{},[13,39,40],{},"effect"," — No baseline for site performance, user behavior, or conversion attribution",[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],{},"The rule filters active (non-paused) tags and checks for a GA4 implementation in two places. First, it looks for a tag with ",[27,63,64],{},"type === 'gaawe'"," (GA4 Event) or ",[27,67,68],{},"type === 'googtag'"," (Google Tag). If neither is present, it checks Custom HTML tags for ",[27,71,72],{},"codeAnalysis.hasGaqPush",", ",[27,75,76],{},"codeAnalysis.hasUaSend",", or ",[27,79,80],{},"codeAnalysis.hasGatGetTrackers"," — signals that legacy Universal Analytics code is present inline. The rule fires only when all three checks return false and at least one active tag exists. Paused tags are excluded from all checks.",[55,83,85],{"id":84},"why-it-matters","Why it matters",[10,87,88],{},"A container with active tags but no analytics platform has no measurement foundation. Campaign attribution, funnel analysis, and conversion reporting all depend on a working analytics implementation. Tags firing without an analytics layer means data goes to ad platforms with no independent measurement source. This is a configuration gap, not a tag error — no individual tag is malformed, so other rules may not surface it.",[55,90,92],{"id":91},"example","Before \u002F after",[94,95,96,103],"compare",{},[97,98,100],"compare-col",{"label":99},"Before — flagged",[10,101,102],{},"Container has 8 active tags: LinkedIn Insight, Meta Pixel, HubSpot form tracker, and 5 Custom HTML tags. No GA4 Event tag, no Google Tag, no legacy GA push detected in any Custom HTML tag.",[97,104,106],{"label":105},"After — resolved",[10,107,108,109,112,113,116],{},"Google Tag (",[27,110,111],{},"googtag",") added with measurement ID ",[27,114,115],{},"G-XXXXXXXXXX",". GA4 Event tags added for page_view and key conversions. Analytics platform is now present; rule no longer fires.",[55,118,120],{"id":119},"remediation","Remediation",[122,123,124,127,130,133,139,146,149],"ol",{},[20,125,126],{},"Confirm whether analytics tracking exists outside GTM (e.g., hard-coded in the page template).",[20,128,129],{},"If analytics is already present outside GTM, no action is required — mark this rule as acknowledged.",[20,131,132],{},"If no analytics platform exists anywhere, create a GA4 property and obtain a measurement ID.",[20,134,135,136,138],{},"Add a Google Tag (",[27,137,111],{},") to the container with the measurement ID.",[20,140,141,142,145],{},"Add GA4 Event tags for ",[27,143,144],{},"page_view"," and any key conversion events.",[20,147,148],{},"Assign all GA4 tags to the All Pages trigger, or your equivalent baseline trigger.",[20,150,151],{},"Publish the container and verify data arrives in the GA4 DebugView.",[55,153,155],{"id":154},"metadata","Metadata",[157,158,161,162,167,161,171,175,161,178,182,161,185,188,161,191,195,161,198,202,161,208,211],"dl",{"className":159},[160],"spec-list","\n  ",[163,164,166],"dt",{"id":165},"severity","Severity",[168,169,170],"dd",{},"medium",[163,172,174],{"id":173},"tier","Tier",[168,176,177],{},"optimization",[163,179,181],{"id":180},"category","Category",[168,183,184],{},"quality",[163,186,187],{"id":46},"Layer",[168,189,190],{},"container",[163,192,194],{"id":193},"version","Version",[168,196,197],{},"1",[163,199,201],{"id":200},"effort","Effort",[168,203,204,207],{},[27,205,206],{},"strategic"," (no fixed time; needs a plan)",[163,209,210],{"id":52},"Reversibility",[168,212,213],{},"non-destructive",[55,215,217],{"id":216},"see-also","See also",[17,219,220,228,235],{},[20,221,222,227],{},[223,224,226],"a",{"href":225},"\u002Fcategories\u002Fquality\u002F","Quality rules"," — other rules in this category",[20,229,230,234],{},[223,231,233],{"href":232},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,236,237,241],{},[223,238,240],{"href":239},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":243,"searchDepth":244,"depth":244,"links":245},"",2,[246,247,248,249,250,251],{"id":57,"depth":244,"text":58},{"id":84,"depth":244,"text":85},{"id":91,"depth":244,"text":92},{"id":119,"depth":244,"text":120},{"id":154,"depth":244,"text":155},{"id":216,"depth":244,"text":217},[253,256,258],{"label":254,"href":255},"API Reference","\u002F",{"label":257,"href":239},"Rules",{"label":29},{"cards":260,"onpage":272},[261],{"title":262,"tabs":263},"Evaluate",[264,268],{"label":265,"language":266,"code":267},"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-analytics-platform\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":269,"language":270,"code":271},"MCP","text","User: Run no-analytics-platform on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"no-analytics-platform\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[273,274,275,276,277],{"id":57,"label":58},{"id":84,"label":85},{"id":91,"label":92},{"id":119,"label":120},{"id":154,"label":155},null,"No GA4, Universal Analytics, or other analytics platform tags were found in the container.","md",{},true,"\u002Frules\u002Fno-analytics-platform","TechArticle",{"title":5,"description":279},"rules\u002Fno-analytics-platform",false,"KkJB0aYAzL6-ZXkoEGQKEXVDTD99OnUOSwTzWErc18A",1796069484273]