WebmasterID logoWebmasterID
Event tracking

Event deduplication across collection paths

Event deduplication is the practice of ensuring a single user action is counted once, even when the same event is sent through multiple paths — for example browser tag and server-side. GA4 deduplicates purchases by transaction_id, and pixel platforms commonly use an event id shared between client and server. Without deduplication, dual-sending inflates conversions and revenue.

Verified against primary sources

What this means

Modern measurement often sends the same event two ways for resilience: a browser tag and a server-side call. If both reach analytics unkeyed, the action is counted twice. Deduplication uses a shared, stable identifier so the platform recognises the second copy as the same event and drops it.

GA4 deduplicates purchases when they share a `transaction_id`; pixel-based platforms typically rely on a common event id sent from both the browser and the server.

Keys and pitfalls

The dedup key must be consistent across paths and stable for the same action — a transaction_id for a purchase, or a generated event id created once and passed to both sender. Generating different ids per path defeats deduplication; reusing an id across genuinely different actions wrongly collapses them. The key should be an opaque event identifier, never personal data like an email. Test by deliberately dual-sending and confirming the platform reports one event.

How it appears in analytics and logs

Duplicate events mean inflated counts — purchases, conversions, or revenue appearing larger than reality. Deduplication keys (transaction_id, event id) make double-counting collapse back to one.

Diagnostic use case

Send events from both client and server for reliability while ensuring each action counts once, by sharing a stable identifier so duplicates collapse.

What WebmasterID can help detect

WebmasterID classifies and records events first-party, so you can reason about which path recorded an event and avoid inflating totals when combining client and server collection.

Common mistakes

Privacy and accuracy notes

Deduplication keys should be event identifiers (like a transaction or generated event id), not personal data. Do not use emails or device identifiers as the dedup key.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.