Key points
- Test both cases that should combine and cases that should remain distinct.
- Preserve transmitted values, not just variable names.
- Check analytics separately from actual order and payment evidence.
How should transaction_id avoid suppressing genuine new orders?
Use a unique dynamic value per order, retained on repeats and not shared across users. See the rule.
This concerns website purchase measurement, not payment protection. Start with a disputed group of events and establish whether it represents another report of one order or genuinely separate orders. A falling report total alone does not establish a correct fix.
How can two hypothetical orders clarify acceptance?
In this invented example, order A reports Q7-A twice; order B reports Q7-B. The purchase tutorial uses different values to distinguish transactions.
Make repeat reporting and a genuinely new order separate acceptance cases, requesting evidence for each. Testing only whether refreshing avoids an increase could miss the opposite failure: suppressing new orders too.

Why are blank or hard-coded example values unsafe?
Empty strings or static values risk undercounting. Exclude identifying customer information. See restrictions.
Ask the implementer to show the transmitted value and its origin, not simply a variable labelled “order number”. Suggested cases include an unreplaced template, a failed lookup and a different order retaining an earlier value. These are acceptance proposals, not findings about your website.
What should the website owner receive instead of “turn on deduplication”?
Implementation is required. This website-focused article does not exclude Firebase apps; see scope.
Provide the business definition of a purchase event, its order-data source, intended trigger and both acceptance cases. The ecommerce documentation can inform an authorised implementer. Do not carry tutorial example values into production.
Approve testing first and use controlled data. Retain the event, transmitted value, observation time and tested scope. Clearly mark browsers, collection paths or user boundaries not examined as unverified.
Does a reasonable purchase count prove there was no duplicate charge?
No. An analytics record is not the original evidence held by the bank, payment provider or order system. A charging concern needs an authorised check against actual payment and order records, rather than closure based on a GA4 chart.
Do not describe this change as repairing all historical data either. State what changed, which cases were verified and what remains unexplained, instead of promising that every form of duplication has disappeared.
Do you need purchase-event acceptance requirements?
Prepare the event definition and test cases without personal data before discussing website and online-shop requirements with HKONE. Confirm implementation, integration and testing scope separately. This article has not changed tags, created orders or made payments.
Frequently asked questions
Does a lower count prove correctness?
No; verify distinct cases, using the tutorial.
Can two purchases by one customer share a transaction value?
No; distinguish the orders. See the examples.
Are empty strings safe?
No: they risk undercounting. See restrictions.
Can I use customer email?
No; see privacy restrictions.
Does deduplication prove only one charge occurred?
No. Ecommerce measurement is not payment evidence; check actual charges separately.
