WebmasterID logoWebmasterID
Data quality

Server-side deduplication

Server-side tagging and the Measurement Protocol let the server emit events alongside the browser. If a conversion fires from both the client tag and the server without coordination, it is counted twice. Deduplication on a shared event identifier prevents this, mirroring how ad platforms dedupe browser and server signals. This page explains the dual-send problem and the id-based dedup that solves it.

Verified against primary sources

The dual-send problem

Modern setups often send the same event from two places: the browser (gtag/GTM) and the server (server-side GTM or the Measurement Protocol), for resilience against ad blockers and ITP. Without coordination, the platform sees two distinct events for one real action and counts both, inflating pageviews, conversions, or purchase revenue.

Deduplicating on an event id

The fix is a shared identifier. For purchases, GA4 already dedupes on transaction_id, so client and server purchase events for the same order collapse. For other events, you assign a common event_id (or equivalent) to both the client and server send, and the platform discards the duplicate. Meta and other ad platforms use the same browser/server dedup pattern with an event_id.

The id must be generated once for the logical event and shared between both senders; generating separate ids per sender defeats dedup entirely.

How it appears in analytics and logs

Conversions roughly doubling after a server-side rollout means client and server events are not being deduplicated against a common event id.

Diagnostic use case

Explain inflated conversions after adding server-side tracking, traced to the same event firing client-side and server-side without a shared dedup id.

What WebmasterID can help detect

WebmasterID records conversion events with a stable identifier first-party, so you can confirm a single logical event is not counted from two senders.

Common mistakes

Privacy and accuracy notes

Server-side events can carry more data; minimize and govern what you send, and never put personal data in a dedup id. This page is educational, not legal advice.

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.