[{"data":1,"prerenderedAt":278},["ShallowReactive",2],{"rule-ga4-excessive-parameters":3},{"id":4,"title":5,"body":6,"breadcrumb":242,"coderail":249,"dateModified":267,"datePublished":267,"description":268,"extension":269,"meta":270,"navigation":271,"next":267,"path":272,"prev":267,"schemaType":273,"seo":274,"stem":275,"wide":276,"__hash__":277},"docs\u002Frules\u002Fga4-excessive-parameters.md","Events exceed 25-parameter limit",{"type":7,"value":8,"toc":233},"minimark",[9,16,54,59,70,74,77,81,107,111,143,147,205,209],[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-excessive-parameters",[20,31,32,35],{},[13,33,34],{},"purpose"," — Detect GA4 event tags that send more than 25 custom parameters per event",[20,37,38,41],{},[13,39,40],{},"effect"," — Parameters beyond the 25-limit are silently dropped by GA4; data is lost with no error",[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 calls ",[27,63,64],{},"getGA4EventTags(data)"," to collect all GA4 event tags, then filters to those where ",[27,67,68],{},"t.ga4.eventParameters.length > 25",". Each tag over the threshold is included in the issue payload with its tag ID, name, and parameter count. The rule counts parameters defined in the tag configuration only — it does not count parameters forwarded from a Google Tag base configuration or from ecommerce objects via \"Send Ecommerce Data.\" Paused tags are excluded.",[55,71,73],{"id":72},"why-it-matters","Why it matters",[10,75,76],{},"GA4 enforces a hard limit of 25 custom parameters per event hit. Parameters beyond that limit are silently discarded — GA4 returns no error and the tag fires normally in GTM Preview and DebugView. The loss is invisible at collection time and surfaces only as gaps in custom dimension reports. The specific drop order is undocumented, so high-value parameters can be lost depending on their position in the tag configuration.",[55,78,80],{"id":79},"example","Before \u002F after",[82,83,84,98],"compare",{},[85,86,88],"compare-col",{"label":87},"Before — flagged",[89,90,96],"pre",{"className":91,"code":93,"language":94,"meta":95},[92],"language-text","purchase event: 31 parameters configured\n  — item_id, item_name, item_brand, item_category,\n    item_category2, item_category3, item_variant,\n    item_list_name, item_list_id, index, quantity,\n    price, currency, discount, coupon, affiliation,\n    transaction_id, value, tax, shipping,\n    payment_type, checkout_step, promo_id,\n    promo_name, promo_creative, promo_position,\n    page_type, user_segment, experiment_id,\n    ab_variant, session_id\n\n  Parameters 26–31 dropped silently.\n","text","",[27,97,93],{"__ignoreMap":95},[85,99,101],{"label":100},"After — consolidated",[89,102,105],{"className":103,"code":104,"language":94,"meta":95},[92],"purchase event: 22 parameters\n  — item_id, item_name, item_brand, item_category,\n    item_variant, quantity, price, currency,\n    discount, coupon, affiliation, transaction_id,\n    value, tax, shipping, payment_type,\n    checkout_step, page_type, user_segment,\n    experiment_id, ab_variant, session_id\n\n  promo_id \u002F promo_name \u002F promo_creative moved to\n  a separate promotion_click event.\n  item_list_name \u002F item_list_id \u002F index moved to\n  item-scoped parameters on the items array.\n",[27,106,104],{"__ignoreMap":95},[55,108,110],{"id":109},"remediation","Remediation",[112,113,114,117,131,134,137,140],"ol",{},[20,115,116],{},"Open each flagged tag and list all configured event parameters.",[20,118,119,120,123,124,123,127,130],{},"Remove parameters that duplicate GA4 automatically collected fields (e.g., ",[27,121,122],{},"page_location",", ",[27,125,126],{},"language",[27,128,129],{},"screen_resolution",").",[20,132,133],{},"Move parameters that describe user state rather than event state to GA4 user properties.",[20,135,136],{},"Split parameters across purpose-specific events if the data belongs to separate actions.",[20,138,139],{},"Confirm the final parameter count is 25 or fewer before publishing.",[20,141,142],{},"Verify all retained parameters appear in GA4 DebugView after publishing the container.",[55,144,146],{"id":145},"metadata","Metadata",[148,149,152,153,158,152,162,166,152,169,173,152,176,179,152,182,186,152,189,193,152,199,202],"dl",{"className":150},[151],"spec-list","\n  ",[154,155,157],"dt",{"id":156},"severity","Severity",[159,160,161],"dd",{},"high",[154,163,165],{"id":164},"tier","Tier",[159,167,168],{},"warning",[154,170,172],{"id":171},"category","Category",[159,174,175],{},"ga4",[154,177,178],{"id":46},"Layer",[159,180,181],{},"container",[154,183,185],{"id":184},"version","Version",[159,187,188],{},"1",[154,190,192],{"id":191},"effort","Effort",[159,194,195,198],{},[27,196,197],{},"2hr"," (about 2 hours)",[154,200,201],{"id":52},"Reversibility",[159,203,204],{},"non-destructive",[55,206,208],{"id":207},"see-also","See also",[17,210,211,219,226],{},[20,212,213,218],{},[214,215,217],"a",{"href":216},"\u002Fcategories\u002Fga4\u002F","GA4 rules"," — other rules in this category",[20,220,221,225],{},[214,222,224],{"href":223},"\u002Fhealth-score\u002F","Health score"," — how this rule contributes to the score",[20,227,228,232],{},[214,229,231],{"href":230},"\u002Frules\u002F","Rules catalog"," — browse all rules",{"title":95,"searchDepth":234,"depth":234,"links":235},2,[236,237,238,239,240,241],{"id":57,"depth":234,"text":58},{"id":72,"depth":234,"text":73},{"id":79,"depth":234,"text":80},{"id":109,"depth":234,"text":110},{"id":145,"depth":234,"text":146},{"id":207,"depth":234,"text":208},[243,246,248],{"label":244,"href":245},"API Reference","\u002F",{"label":247,"href":230},"Rules",{"label":29},{"cards":250,"onpage":261},[251],{"title":252,"tabs":253},"Evaluate",[254,258],{"label":255,"language":256,"code":257},"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-excessive-parameters\",\"url\":\"https:\u002F\u002Fexample.com\"}'\n",{"label":259,"language":94,"code":260},"MCP","User: Run ga4-excessive-parameters on https:\u002F\u002Fexample.com\n\n# Tool call\n{\n  \"tool\": \"evaluate_rule\",\n  \"arguments\": {\n    \"rule_id\": \"ga4-excessive-parameters\",\n    \"url\": \"https:\u002F\u002Fexample.com\"\n  }\n}\n",[262,263,264,265,266],{"id":57,"label":58},{"id":72,"label":73},{"id":79,"label":80},{"id":109,"label":110},{"id":145,"label":146},null,"Event tags send more than 25 custom parameters. GA4 drops parameters beyond this limit silently.","md",{},true,"\u002Frules\u002Fga4-excessive-parameters","TechArticle",{"title":5,"description":268},"rules\u002Fga4-excessive-parameters",false,"nIta8uJUj9OQI3UMBlfLoq8VzoXOc3iVK_Ta2yQvxHk",1796069483786]