[{"data":1,"prerenderedAt":303},["ShallowReactive",2],{"rule-ga4-enhanced-measurement-conflict":3},{"id":4,"title":5,"body":6,"breadcrumb":267,"coderail":274,"dateModified":292,"datePublished":292,"description":293,"extension":294,"meta":295,"navigation":296,"next":292,"path":297,"prev":292,"schemaType":298,"seo":299,"stem":300,"wide":301,"__hash__":302},"docs\u002Frules\u002Fga4-enhanced-measurement-conflict.md","GTM tags duplicating Enhanced Measurement",{"type":7,"value":8,"toc":258},"minimark",[9,16,54,59,103,107,110,114,140,144,168,172,230,234],[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",{},"ga4-enhanced-measurement-conflict",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect GTM GA4 event tags sending events that GA4 Enhanced Measurement tracks automatically",[20,37,38,41],{},[13,39,40],{},"effect"," — Duplicate event counts in GA4 reports for page_view, scroll, click, and related events",[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,73,77,73,80,73,83,73,86,73,89,73,92,95,96,99,100,102],{},"The rule calls ",[27,63,64],{},"getGA4EventTags(data)"," to collect all GA4 event tags from the container, then filters to those whose ",[27,67,68],{},"ga4.eventName"," matches a fixed set of Enhanced Measurement events: ",[27,71,72],{},"page_view",", ",[27,75,76],{},"scroll",[27,78,79],{},"click",[27,81,82],{},"file_download",[27,84,85],{},"form_start",[27,87,88],{},"form_submit",[27,90,91],{},"video_start",[27,93,94],{},"video_progress",", and ",[27,97,98],{},"video_complete",". The name comparison is case-insensitive. If one or more tags match, the rule fires and returns each affected tag's ID, name, and event name. Tags with no ",[27,101,68],{}," value are excluded. The rule does not verify whether Enhanced Measurement is enabled in the GA4 property — that check requires property-level API access. Paused tags are not filtered out; verify pause status manually.",[55,104,106],{"id":105},"why-it-matters","Why it matters",[10,108,109],{},"GA4 Enhanced Measurement auto-tracks specific events at the property level without GTM configuration. When a GTM tag also sends the same event name, GA4 records both hits separately. Event counts inflate for the affected events. The 25-parameter-per-event budget is consumed by overlapping payloads that may carry different parameter sets for the same interaction. Reports fragment when the two implementations diverge on parameter names or values. The GA4 UI does not warn when two sources send the same event name — you must detect and resolve the overlap manually.",[55,111,113],{"id":112},"example","Before \u002F after",[115,116,117,131],"compare",{},[118,119,121],"compare-col",{"label":120},"Before — flagged",[122,123,129],"pre",{"className":124,"code":126,"language":127,"meta":128},[125],"language-text","GTM container:\n  Tag: \"GA4 - Scroll\"\n  Event name: scroll\n  Trigger: All Pages\n\nGA4 property:\n  Enhanced Measurement ON\n  Scroll tracking: enabled\n","text","",[27,130,126],{"__ignoreMap":128},[118,132,134],{"label":133},"After — fixed",[122,135,138],{"className":136,"code":137,"language":127,"meta":128},[125],"Option A — keep GTM tag, disable EM scroll:\n  GA4 > Admin > Data Streams > Enhanced Measurement\n  Toggle off \"Scrolls\"\n  GTM tag fires, custom parameters preserved\n\nOption B — remove GTM tag, keep EM:\n  Delete GTM tag \"GA4 - Scroll\"\n  Enhanced Measurement handles scroll automatically\n",[27,139,137],{"__ignoreMap":128},[55,141,143],{"id":142},"remediation","Remediation",[145,146,147,150,153,156,159,162,165],"ol",{},[20,148,149],{},"Open the TagManifest report and note each affected tag name and event name.",[20,151,152],{},"Open GA4, go to Admin > Data Streams > your stream > Enhanced Measurement settings.",[20,154,155],{},"For each conflicting event, decide: keep the GTM tag (custom parameters needed) or keep Enhanced Measurement (default parameters are sufficient).",[20,157,158],{},"If keeping the GTM tag: disable the corresponding Enhanced Measurement toggle for that event type.",[20,160,161],{},"If keeping Enhanced Measurement: delete or pause the GTM tag.",[20,163,164],{},"Publish the GTM container after removing or modifying tags.",[20,166,167],{},"Verify in GA4 DebugView that the event fires once per interaction before closing the ticket.",[55,169,171],{"id":170},"metadata","Metadata",[173,174,177,178,183,177,187,191,177,194,198,177,201,204,177,207,211,177,214,218,177,224,227],"dl",{"className":175},[176],"spec-list","\n  ",[179,180,182],"dt",{"id":181},"severity","Severity",[184,185,186],"dd",{},"high",[179,188,190],{"id":189},"tier","Tier",[184,192,193],{},"optimization",[179,195,197],{"id":196},"category","Category",[184,199,200],{},"ga4",[179,202,203],{"id":46},"Layer",[184,205,206],{},"container",[179,208,210],{"id":209},"version","Version",[184,212,213],{},"1",[179,215,217],{"id":216},"effort","Effort",[184,219,220,223],{},[27,221,222],{},"2hr"," (about 2 hours)",[179,225,226],{"id":52},"Reversibility",[184,228,229],{},"non-destructive",[55,231,233],{"id":232},"see-also","See also",[17,235,236,244,251],{},[20,237,238,243],{},[239,240,242],"a",{"href":241},"\u002Fcategories\u002Fga4\u002F","GA4 rules"," — other rules in this category",[20,245,246,250],{},[239,247,249],{"href":248},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,252,253,257],{},[239,254,256],{"href":255},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":128,"searchDepth":259,"depth":259,"links":260},2,[261,262,263,264,265,266],{"id":57,"depth":259,"text":58},{"id":105,"depth":259,"text":106},{"id":112,"depth":259,"text":113},{"id":142,"depth":259,"text":143},{"id":170,"depth":259,"text":171},{"id":232,"depth":259,"text":233},[268,271,273],{"label":269,"href":270},"API Reference","\u002F",{"label":272,"href":255},"Rules",{"label":29},{"cards":275,"onpage":286},[276],{"title":277,"tabs":278},"Evaluate",[279,283],{"label":280,"language":281,"code":282},"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\":\"ga4-enhanced-measurement-conflict\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":284,"language":127,"code":285},"MCP","User: Run ga4-enhanced-measurement-conflict on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"ga4-enhanced-measurement-conflict\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[287,288,289,290,291],{"id":57,"label":58},{"id":105,"label":106},{"id":112,"label":113},{"id":142,"label":143},{"id":170,"label":171},null,"GTM tags send events that GA4 Enhanced Measurement also tracks automatically (scroll, click, video, etc.).","md",{},true,"\u002Frules\u002Fga4-enhanced-measurement-conflict","TechArticle",{"title":5,"description":293},"rules\u002Fga4-enhanced-measurement-conflict",false,"MU92uY7JZW0UFe3SLNVXv9xlDWZzWwq06rAX6IU3apc",1796069483701]