Skip to main content
TagManifest /Docs Dashboard

Parameters using reserved prefixes

Parameters use reserved prefixes (ga_, google_, firebase_, gtag., or leading underscore) that GA4 silently drops.

On this page 6

Summary

  • rule_id — ga4-param-reserved-prefix
  • purpose — Detect GA4 event parameters and user properties that use prefixes GA4 reserves for internal use
  • effect — Reserved-prefix parameters are silently dropped by GA4 before they reach reports
  • layer — container
  • reversibility — non-destructive

What fires this

The rule calls getGA4Tags() to collect all GA4 Configuration and Event tags. For each tag it merges t.ga4.eventParameters and t.ga4.userProperties into a single list, then tests each parameter name against the pattern /^(ga_|google_|firebase_|gtag\.)|^_/. Any parameter whose name matches — across event parameters or user properties — is recorded as a violation. Tags with at least one violation are included in the returned issue. Paused tags are excluded by getGA4Tags().

Why it matters

GA4 reserves the prefixes ga_, google_, firebase_, gtag., and leading underscore for internal instrumentation. Parameters using these prefixes are not rejected at collection time — they are silently dropped before being written to BigQuery or surfaced in reports. There is no error, no warning, and no indication in the GA4 UI that the data was discarded. A parameter named ga_campaign will appear to send correctly in GTM preview but will never appear in reports.

Before / after

// GA4 event tag — event parameters
ga_campaign: {{DLV - campaign}}
google_source: {{DLV - source}}
_session_id: {{DLV - session}}
// GA4 event tag — event parameters
campaign_name: {{DLV - campaign}}
traffic_source: {{DLV - source}}
session_id: {{DLV - session}}

Remediation

  1. Open each flagged GA4 tag in GTM and locate the offending parameter names under "Event Parameters" and "User Properties".
  2. Rename each parameter to remove the reserved prefix. For example, change ga_campaign to campaign_name.
  3. If the parameter name is shared across tags, update the source variable or data layer key to match the new name.
  4. Publish the container and confirm the renamed parameters appear in GA4 DebugView.
  5. Verify the parameters surface in GA4 reports or the BigQuery export within 24–48 hours.
  6. If custom dimensions or metrics were registered in GA4 under the old names, update those definitions to match.

Metadata

Severity
high
Tier
warning
Category
ga4
Layer
container
Version
1
Effort
15min (about 15 minutes)
Reversibility
non-destructive

See also

Examples

Evaluate
curl https://developer.tagmanifest.com/v1/evaluate-rule \
  -H "Authorization: Bearer $TM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rule_id":"ga4-param-reserved-prefix","url":"https://example.com"}'