Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GA4 purchase value differs from order total: how to fix it

TRK-082High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

The GA4 purchase event carries a value parameter, which is the revenue for that order. It also carries currency, transaction_id, and an items array. This issue means value does not match the order total your store shows the customer and records in its own admin.

The gap can be small (a few cents of rounding) or large (the whole shipping and tax amount, or the price before a discount). It is often consistent, so every order is wrong by the same rule, which makes it easy to miss.

Decide first what value should mean for your business. Many stores use the amount paid minus tax and shipping, others use the full total. Either is fine, but it must be the same everywhere and match what you compare it to. If your rule is not consistent, see TRK-081, which covers tax and shipping being included or excluded inconsistently.

Why it costs you leads or sales

Wrong values distort every decision built on revenue. GA4 reports show the wrong revenue and return on ad spend. Google Ads and Meta use the conversion value for value-based bidding, so the platforms optimise toward numbers that are not real. Your reports and your finance data stop agreeing, and people stop trusting analytics.

Same orders, different revenueExample numbers
Same orders, different revenue (example)Store order total: 500 $; GA4 (pre-discount price): 560 $; GA4 (tax excluded): 420 $; GA4 (shipping missing): 470 $0215429500560420470Store order totalGA4 (pre-discount pri…GA4 (tax excluded)GA4 (shipping missing)$

Example: five orders worth $500 in your store, reported at different amounts in GA4 depending on the cause.

Where the wrong value travels
  1. Order placedCustomer pays the real total
  2. Purchase eventvalue differs from total
  3. GA4 revenueWrong revenue and ROAS
  4. Ad biddingOptimises on wrong value

A wrong value at the purchase event is copied into every report and ad platform that reads it.

How to check if your site has it

Compare one test order with its event
  1. Place a test order

    Use a product with a known price. Add a discount code and choose a paid shipping option, so tax, shipping and discount are all in play. Use your store's test mode or a refundable low-value order.

  2. Open the event in a debugger

    In GA4 go to Admin > DebugView, or use Tag Assistant or your browser's Network tab. Find the purchase event on the confirmation page.

  3. Read value and currency

    Note value, currency, tax, shipping and the items prices.

  4. Compare with the order

    Open the order in your store admin and compare the total, tax, shipping and discount with the event. Work out which part is missing or added twice.

  5. Repeat with different orders

    Try a different currency, a free-shipping order and a no-discount order. A rule that works for one can fail for another.

Typical gaps and what usually causes them
What you seeLikely cause
value higher than totalPre-discount price sent, or shipping and tax added twice
value lower than totalShipping, tax or fees left out, or discount applied twice
value is 0 or emptyVariable read before it exists, or wrong data layer path
value like 1 or 100x offPrice sent in cents, or as text with a symbol or comma
Differs only for some ordersCurrency conversion, or a rule that fails for some products or shipping methods

How to fix it

The fix is to send the final order amount, as a plain number, from the same source your store uses for the order total. Pick your platform below.

Fix the purchase value by platform
  1. Check how the purchase is sent

    If you use the Google & YouTube app or a customer events pixel, open it and check which price field it reads. Shopify's checkout objects expose both a subtotal and a total price.

  2. Use the right field

    In a custom pixel, use the total price of the checkout (checkout.totalPrice.amount) if you want the full total, or subtotal if you exclude shipping and tax. Keep it the same as your rule.

  3. Remove duplicate tracking

    If both an app and a custom pixel send purchases, remove one so values do not conflict.

A correct purchase push (example values)javascript
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
  event: 'purchase',
  ecommerce: {
    transaction_id: 'T-10234',
    value: 89.50,      // final amount, as a number
    tax: 7.50,
    shipping: 6.00,
    currency: 'USD',
    items: [
      { item_id: 'SKU-1', item_name: 'Example product', price: 76.00, quantity: 1 }
    ]
  }
});
Value before and after the fix

Before

  • value is the pre-discount price
  • Shipping left out
  • Price sent as '$89.50' text

After

  • value is the final order amount
  • Tax and shipping follow one clear rule
  • Price sent as the number 89.50

How to confirm it's fixed

Confirmation checklist
  • Place a new test order with a discount and paid shipping
  • The value in DebugView equals the amount you chose to track
  • currency matches the currency the customer paid in
  • value is a number, not text
  • The sum of item prices times quantity fits your tax, shipping and discount rule
  • A day later, GA4 revenue for those orders matches your store admin

How to prevent it happening again

Write down what value means (for example: total paid, including tax and shipping) and share it with whoever edits the theme, checkout or tags. Re-test after theme updates, checkout changes, new discount types, new currencies and plugin updates, since these are common moments for the value to change. Keep one source for the purchase event so apps and manual tags do not compete.

How FunnelGuard handles this

FunnelGuard detects this issue. It runs your checkout journey as a robot visitor on a schedule and checks the tracking hits sent to GA4. Its price consistency check compares the price seen in the funnel with the value in the tracking hit, and flags when they do not match. If a check fails, it is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

Test traffic is marked and stops before payment unless your store's test mode is set up, so it will not enter real card details. FunnelGuard tells you that the values differ; deciding which number is right, and fixing the data layer, is still up to you. The Free plan covers 1 site and 2 journeys with daily checks, and paid plans start with a 3-day free trial.

Try it: value sourceInteractive
Event reads pre-discount price

Pre-discount price

Leads or data lost

GA4 revenue is higher than real revenue, and ad platforms bid on inflated values.

Toggle to see how the source of value changes your reported revenue.

Questions people ask

Why is my GA4 purchase value different from my order total?

Usually the event sends a different number than the final total. Typical causes are tax or shipping being left out or added twice, the pre-discount price being used, prices sent as text, or a wrong currency. Compare a test order with the purchase event in DebugView to see which part differs.

Why is GA4 revenue lower than my Shopify or WooCommerce sales?

Some gap is normal because GA4 misses orders from blocked scripts, declined consent and customers who leave before the confirmation page. If the gap is the same amount on every order, though, the cause is the value itself, such as tax or shipping not being included.

Should GA4 purchase value include tax and shipping?

GA4 lets you decide. The value parameter should be the revenue you want to report, and tax and shipping can be sent as separate parameters. What matters is that you pick one rule and apply it to every order.

How do I check the value GA4 receives for a purchase?

Place a test order and open Admin > DebugView in GA4, or use Tag Assistant or the browser Network tab. Click the purchase event and read the value and currency parameters.

Why is my GA4 purchase value 0 or empty?

The tag probably read the value before it existed, or the data layer variable path is wrong. Check in GTM Preview that ecommerce.value is present in the push and that the tag reads exactly that path.

Can a wrong purchase value affect Google Ads?

Yes. If you import GA4 conversions or use value-based bidding, Google Ads optimises on the value it receives. An inflated or low value leads to wrong return on ad spend figures and weaker bidding.

Why does the value differ only on some orders?

The rule may fail for certain cases such as a different currency, free shipping, a discount code or a specific product type. Test each case separately and compare the event with the order.

How can I be alerted when purchase values stop matching?

FunnelGuard runs your checkout journey on a schedule and compares the price in the funnel with the value in the GA4 tracking hit. When they differ, it sends one alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: price_consistent.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.