Reserved event names used
Event names conflict with GA4 reserved names for automatic tracking (e.g., first_visit, session_start).
Summary
- rule_id —
ga4-reserved-event-names - purpose — Detect GA4 event tags whose event name collides with a GA4 reserved name
- effect — Custom events conflict with built-in GA4 automatic tracking, corrupting those event streams
- layer — container
- reversibility — non-destructive
What fires this
The rule calls getGA4EventTags(data) to collect all active GA4 event tags, then checks each tag's ga4.eventName against a fixed set of 34 reserved names. The comparison is case-insensitive. Names in the reserved set include first_visit, session_start, screen_view, error, user_engagement, and all Firebase Analytics automatic events. If any tag's event name matches, that tag is added to the affected list and a single issue is returned. Paused tags are excluded.
Why it matters
GA4 fires reserved events automatically via its SDK. When a custom event tag uses the same name, two data sources write to the same event bucket. GA4 does not merge them cleanly — the result is inflated counts, broken deduplication, and unreliable attribution for the affected event. The collision is silent: no console error appears in GTM, no validation warning surfaces in GA4. It can persist undetected through multiple reporting cycles. Renaming the custom event eliminates the conflict with no data loss.
Before / after
{
"tag": "GA4 Event - First Visit Bonus",
"eventName": "first_visit"
}
{
"tag": "GA4 Event - First Visit Bonus",
"eventName": "custom_first_visit_bonus"
}
Remediation
- Open each flagged GA4 event tag in GTM.
- Identify the reserved name in the "Event name" field.
- Rename the event to a non-reserved string. Prefix with
custom_if no other name is available. - Update any Custom Event triggers, GA4 conversion definitions, or audience conditions that reference the old name.
- Publish a new container version.
- Confirm the renamed event appears under the correct name in GA4 DebugView without interference from auto-collected events.
Metadata
- Severity
- high
- Tier
- optimization
- Category
- ga4
- Layer
- container
- Version
- 1
- Effort
15min(about 15 minutes)- 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-reserved-event-names","url":"https://example.com"}'
User: Run ga4-reserved-event-names on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "ga4-reserved-event-names",
"url": "https://example.com"
}
}