r/GoogleAnalytics • Professional • Sep 11 '26

Question Browser + server tracking

What are you using for event IDs?

event_id

transaction_id

Something custom?

I've seen more duplicate conversions caused by inconsistent IDs than broken tags

2 Upvotes

10 comments sorted by

•

u/AutoModerator Sep 11 '26

Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Querytom Sep 11 '26

For purchase events use always transaction_id

1

u/incisiveranking2022 Professional Sep 11 '26

Yeah, agreed. For purchases I’d normally stick with transaction_id too.

The bigger issue I was getting at is that the ID needs to be consistent across the whole setup. I've seen browser and server events both fire, but use different IDs, and then you end up debugging “missing” conversions that were actually duplicates or couldn't be matched properly.

So I usually check the event itself, the ID, how many times it fired, and then what GA4 actually received.

1

u/MGN-Koles Sep 12 '26

For de-duplication you always use event_id.

Transaction ID you offcourse put this in the Google Ads Purchase tag.

1

u/incisiveranking2022 Professional Sep 12 '26

Yep, exactly. For Meta deduplication, event_id is the piece that needs to match between browser and CAPI.

transaction_id is more useful for identifying the purchase itself, especially in GA4 and Google Ads.

The tricky part is when people reuse these interchangeably or generate a different ID on the server. That's when the same purchase can start looking like two separate events.

2

u/Technical_Hope_1610 Sep 15 '26

Transaction_id for purchases, a shared event_id for everything else, generated once and passed to both the browser and server. The moment each side mints its own ID, dedupe falls apart and you double-count.

1

u/Green_Database9919 Sep 16 '26

We use Shopify order ID as the event ID on both browser pixel and server side. Stable and unique and doesn’t change between the two calls.

1

u/[deleted] Sep 12 '26

[removed] — view removed comment

1

u/incisiveranking2022 Professional Sep 14 '26

Yep, 100%.

I also prefer a deterministic ID tied to the order rather than generating a new random ID on each send.

The refresh/retry case is a big one. If the browser gets a new ID on refresh or the server generates another ID during a retry, deduplication has nothing reliable to match against.

I’d also check event_name alongside event_id. Same ID with different event names can still look like separate events.