Your store shows a set of paid orders for the week. GA4 reports a different number of purchases. Before you decide which report to trust, pick a few orders and trace the events connected to them. One order that fires twice and another that never fires can leave the totals looking almost right while both journeys are being measured incorrectly.
The transaction ID is a useful place to start. It helps you tell whether two purchase events describe the same order or two different orders. It cannot explain every missing event, and it cannot repair a purchase event that was never sent.
Make sure both reports answer the same question
Start with the completed orders in your store’s order system. Agree on what counts: paid orders, for example, excluding staff tests. Decide separately how to handle cancellations and refunds. Then select a comparable period in GA4, check the property’s reporting time zone and write down the exact metric you’re comparing. A count for all key events on a dashboard is not the same as the purchase count for one website.
Keep the order system as the record of what was sold. Use Analytics to understand the activity you can measure around those orders. A customer may pay successfully without returning to the confirmation page, or may decline analytics under your consent setup. In both cases the store can have a valid order that a browser-based setup does not record.
If the purchase count is sound but the report credits the payment provider rather than the campaign you expected, that is a separate question. Start with Grovitt’s guide to payment gateway referral attribution for that issue.
Check how the site assigns transaction IDs
Google’s transaction ID guidance says Analytics uses matching transaction IDs to deduplicate purchase events. It recommends a dynamic ID unique to each order and warns against sending an empty string, which can cause purchases sharing that empty value to be deduplicated. It also says to keep information that identifies customers out of transaction IDs.
Ask your developer to inspect the purchase event during an approved test order. Is the ID present? Does it match the order reference, or does the tag send the same default value every time? Then create a separate test order. The second order should carry a different ID. If both orders share a value, repeated purchases might disappear from reporting even though the store received both payments.
Hypothetical example: A retailer moves its checkout to a new template. The purchase event still fires, but a reference used by the old template is no longer available. The tracking tag substitutes an empty value. The first useful fix is to read the real order ID from the new checkout and verify it with two distinct orders. There is no need to alter the campaigns while investigating that fault.
Test the events a customer could trigger
Reopen a completed order
Place a labelled test order and record when the store confirms it. Check whether the purchase event fires and note its ID, value and currency. Reload the confirmation page and revisit it using the route a returning customer would take. If another event is sent, check whether it carries the same order reference and whether your implementation can avoid producing the unnecessary repeat.
Review all the places that can send the event. A commerce integration, a tag manager and a server integration can each look correct when tested alone. If several send the same purchase, compare the payloads, especially the IDs. Avoid assuming that identical event names are enough to tell the platform that the events describe the same order.
Try a route that should not count as a sale
Use your checkout provider’s test environment where available to try a failed or abandoned payment. Confirm that opening a checkout page, clicking Pay or returning from a failed attempt does not send a purchase. Then test at least one successful payment route that behaves differently, such as a mobile payment that opens another app. A desktop card test does not verify every return journey.
For each test, write down what the store, the browser or server event logs, and the eventual Analytics report show. The point is to distinguish a missing event, a duplicate event and a valid event missing from the view you opened. A conversion tracking review can help document these differences without sharing customer contact or payment details in an investigation log.
Fix the earliest confirmed problem
If a valid order never produces an event, inspect when your site decides a payment is confirmed. If a single order produces multiple events, trace the firing rules and any overlapping integrations. If distinct orders send the same ID, fix how the tag reads the reference. These changes address different causes; changing them together can make it hard to tell which problem was responsible.
Write down the expected behaviour before releasing a fix: a confirmed test order gets its own reference; refreshing does not create a new purchase; a failed payment is not a sale. Repeat the same test scenarios after the change. If the checkout or confirmation screen itself sits on the wrong route, a website and landing page review can help verify the customer journey as well as what the tag sees.
Compare new orders after the fix
Set aside a comparable period after the implementation. Match a small set of new orders to Analytics records where you can do so, then review the overall gap. Note whether it clusters around one payment route, device or checkout version. If you can explain some missing purchases but not others, report that clearly.
Avoid filtering out inconvenient orders to make the totals agree. Keep exclusion rules stable and mark tests consistently. If you use the numbers to evaluate advertising, wait until you can explain the largest differences. The business needs a reliable comparison more than an exact match produced by changing the report definition.
Frequently asked questions
Should every repeat visit to an order confirmation send a new ID?
No. Two events describing the same order should not invent different order references. Test whether the implementation can avoid sending the second event at all.
Will fixing IDs correct last month’s report?
Do not expect an implementation fix to rewrite events already collected. Record the change date and verify the behaviour on newly placed orders.
Can a unique ID prevent every tracking problem?
No. It cannot help if a purchase never fires, if the purchase fires before payment succeeds or if you compare different date ranges and order statuses.
If your store and Analytics disagree, bring the report date range and a redacted test-order timeline to a digital marketing freelancer in Hyderabad. Start with a case the team can reproduce before changing the budget or rebuilding the dashboard.
