1. Compare the same orders
Pick a finished reporting day and align the time zone, date range and checkout flow across both exports. Compare new purchases separately from recurring invoices and refunds. Use your own order ID as the join key. If GA4 sends a different identifier, use a mapping from your order system. Totals alone cannot identify which order is missing.
Make a row with the internal order ID, Stripe payment time and result, any backend event or browser route you can confirm, and the GA4 transaction ID, amount and currency. Keep customer details out of the diagnostics.
2. Test the return page and the payment event separately
| Test | What to inspect |
| Pay in Stripe’s test environment and return normally. | Check whether your app logs the order as paid and which path sends GA4 purchase. Record the transaction ID both paths use. |
| Complete another test payment, then close Checkout before the success page loads. | If the backend confirms payment and a purchase is only sent in the first test, the return page may be the only trigger. |
| Reload the thank-you page and redeliver the same test webhook. | Look for repeated sends. Browser and server should use the same unique order ID. Confirm your own event dispatch can safely handle a retry. |
3. Check the first boundary where the evidence stops
If Stripe shows payment but your app has no paid order, inspect the payment event and your handler. If your app confirms payment but has no record of sending purchase, inspect the trigger and consent rules. If you confirm a send but cannot find the order in GA4, check the property and stream, the transaction_id, and the report filters and processing window. Absence from a report alone does not tell you which boundary failed.
For amount differences, compare the same currency and the same definition of revenue. A Stripe total can include tax or shipping that GA4 reports separately. Record the discrepancy before changing event values.
4. Check the first charge after a free trial
A Checkout Session can finish when a customer starts a free trial, before Stripe collects any money. If you measure first paid conversion, compare the first settled nonzero subscription invoice with GA4. Keep the trial start and later renewals separate. Use a stable, non-personal ID for that invoice and include the same reference in your comparison export.
Trace Stripe's invoice.paid event through your handler. Verify the payment amount and how it was collected before classifying it as a cash sale. Then confirm whether this is the first paid invoice for the subscription and whether the handler sent the purchase once. A platform that only emits purchase during browser checkout can miss a charge made in the background.
Choose what counts as an acquisition before comparing totals. A returning customer can start a second subscription and make its first payment. That counts in a first-payment-per-subscription report. For a new-customer report, check purchase history under your agreed customer definition and lookback period. Keep the invoice ID as the transaction key and leave GA4's optional customer_type unset when the customer's history is uncertain.
Use a Stripe sandbox simulation to advance the trial. Verify that a successful first charge records one purchase, an unsuccessful payment records none until it succeeds, and redelivery does not add another purchase. Keep the test events in a separate GA4 property.
Download the Node.js reconciliation example and run node trial-reconciliation.mjs. It uses invented invoices and raw purchase events to show a zero-value trial, an externally settled invoice, a failed charge followed by a retry, and a renewal delivered out of order. It runs locally without credentials.
5. Reconcile a discounted purchase
Take a USD order with two units at $25 each, a $5 discount per unit, $4 in separately charged tax, and $3 in shipping. In the Stripe Checkout Session, the subtotal is $50, the discount is $10, and the total is $47. Check total_details for the discount, tax, and shipping amounts.
In the GA4 purchase event, set the item's price to 20, discount to 5, and quantity to 2. Send value as 40 and currency as USD, with 4 in tax and 3 in shipping. GA4 expects a discounted unit price. It does not subtract the discount field from the price you send.
If GA4 shows $50 for this transaction, inspect the outgoing event for an undiscounted price or subtotal. GA4 showing $40 while Stripe shows $47 is expected in this example. The $7 difference comes from tax and shipping.
References