Events exceed 25-parameter limit
Event tags send more than 25 custom parameters. GA4 drops parameters beyond this limit silently.
Summary
- rule_id —
ga4-excessive-parameters - purpose — Detect GA4 event tags that send more than 25 custom parameters per event
- effect — Parameters beyond the 25-limit are silently dropped by GA4; data is lost with no error
- layer — container
- reversibility — non-destructive
What fires this
The rule calls getGA4EventTags(data) to collect all GA4 event tags, then filters to those where 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.
Why it matters
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.
Before / after
purchase event: 31 parameters configured
— item_id, item_name, item_brand, item_category,
item_category2, item_category3, item_variant,
item_list_name, item_list_id, index, quantity,
price, currency, discount, coupon, affiliation,
transaction_id, value, tax, shipping,
payment_type, checkout_step, promo_id,
promo_name, promo_creative, promo_position,
page_type, user_segment, experiment_id,
ab_variant, session_id
Parameters 26–31 dropped silently.
purchase event: 22 parameters
— item_id, item_name, item_brand, item_category,
item_variant, quantity, price, currency,
discount, coupon, affiliation, transaction_id,
value, tax, shipping, payment_type,
checkout_step, page_type, user_segment,
experiment_id, ab_variant, session_id
promo_id / promo_name / promo_creative moved to
a separate promotion_click event.
item_list_name / item_list_id / index moved to
item-scoped parameters on the items array.
Remediation
- Open each flagged tag and list all configured event parameters.
- Remove parameters that duplicate GA4 automatically collected fields (e.g.,
page_location,language,screen_resolution). - Move parameters that describe user state rather than event state to GA4 user properties.
- Split parameters across purpose-specific events if the data belongs to separate actions.
- Confirm the final parameter count is 25 or fewer before publishing.
- Verify all retained parameters appear in GA4 DebugView after publishing the container.
Metadata
- Severity
- high
- Tier
- warning
- Category
- ga4
- Layer
- container
- Version
- 1
- Effort
2hr(about 2 hours)- Reversibility
- non-destructive
See also
- GA4 rules — other rules in this category
- Health score — how this rule contributes to the score
- Rules catalog — browse all rules
Examples
curl https://developer.tagmanifest.com/v1/evaluate-rule \
-H "Authorization: Bearer $TM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rule_id":"ga4-excessive-parameters","url":"https://example.com"}'
User: Run ga4-excessive-parameters on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "ga4-excessive-parameters",
"url": "https://example.com"
}
}