Event tags with Once Per Page firing
GA4 event tags set to fire Once Per Page, which silently drops repeat events on single-page applications.
Summary
- rule_id —
ga4-once-per-load - purpose — Detect GA4 event tags using Once Per Page firing that will silently drop repeat events on SPAs
- effect — Repeat events (purchase, form_submit, etc.) are lost after the first page load in single-page applications
- layer — container
- reversibility — non-destructive
What fires this
The rule checks all active GA4 event tags (type === 'gaawe') where firingOption === 'ONCE_PER_LOAD'. Tags whose ga4.eventName matches page_view, page_visit, or pageview are excluded — once-per-load is correct for those event names. Any remaining tag with ONCE_PER_LOAD is flagged at high severity. Paused tags are excluded. The finding lists each affected tag's id, name, and eventName for direct triage.
Why it matters
ONCE_PER_LOAD tells GTM (Google Tag Manager) to fire a tag at most once per browser-level navigation event. On multi-page sites this is harmless — each route change reloads the page. On single-page applications (SPAs — React, Vue, Angular, Next.js), navigation does not reload the page. GTM evaluates the once-per-load gate at initial load only. A user who submits a form, completes a purchase, or clicks a CTA multiple times in a session will have only the first event sent to GA4. The remaining occurrences are discarded silently — no console error, no network request, no GA4 record.
Before / after
Tag: "GA4 - purchase"
Event name: purchase
Firing option: Once Per Page ← flagged
Trigger: All Pages
Tag: "GA4 - purchase"
Event name: purchase
Firing option: Unlimited ← correct for repeatable events
Trigger: purchase (custom event trigger)
Remediation
- Open each flagged tag in the GTM container editor.
- Confirm the event name is a repeatable action (purchase, form_submit, sign_up, etc.).
- Change the firing option from "Once Per Page" to "Unlimited".
- If deduplication is required, use "Once Per Event" with an event-scoped deduplication key instead.
- Verify the trigger fires on the correct custom event, not a broad page-load trigger.
- Test in GTM Preview mode by performing the action multiple times and confirming each occurrence appears in GA4 DebugView.
- Publish the container.
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-once-per-load","url":"https://example.com"}'
User: Run ga4-once-per-load on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "ga4-once-per-load",
"url": "https://example.com"
}
}