Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GA4 purchase value inconsistent with tax and shipping: fix

TRK-081Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

The GA4 purchase event has a value parameter. Google defines it as the monetary value of the event. It does not force you to include or exclude tax and shipping. GA4 also has separate tax and shipping parameters.

The problem appears when value is built in different ways. One tag may send the order grand total. Another may send the subtotal. A theme update, a payment method or a different checkout path can change which one is used. The result is a mix of definitions in the same report.

Why it costs you leads or sales

Inflated or deflated values do not stop orders, but they push you to bad decisions. Ad platforms that use conversion value, such as Google Ads value-based bidding, learn from the numbers you send. Mixed numbers make campaigns look better or worse than they are.

Example: one order of $100 in products, $8 tax and $12 shipping, depending on the definition used.
Definitionvalue sentEffect on reports
Items only$100Matches product revenue
Items + tax$108Revenue looks 8% higher
Items + tax + shipping$120Revenue looks 20% higher
Same order, three reported valuesExample numbers
Same order, three reported values (example)Items only: 100 $; Plus tax: 108 $; Plus tax and shipping: 120 $04692100108120Items onlyPlus taxPlus tax and shipping$

Example: the same $100 basket reported with different definitions. Numbers are illustrative.

Other effects: ROAS is overstated on some days, comparisons with your shop admin never reconcile, and free-shipping or tax-heavy regions look more profitable than they are.

How to check if your site has it

Compare the event with the order
  1. Place several test orders

    Use different baskets: one with shipping and tax, one with free shipping, one with a discount code, and one to a different country or state if you sell there. Use your store's test mode or a payment method you can refund.

  2. Inspect the purchase event

    Open GA4 Admin > DebugView, or use Google Tag Assistant, or look at the dataLayer in the browser console. Note value, tax, shipping and the items prices.

  3. Do the maths

    Add item price times quantity for all items, subtract discounts, then compare with value. Check whether tax and shipping were added in.

  4. Compare across baskets and tags

    The rule must hold in every test. Also compare the GA4 value with the value sent to Google Ads, Meta and other tags.

  5. Compare with your shop admin

    In GA4 Reports > Monetisation > Ecommerce purchases, compare revenue with the shop's own sales report for the same days and note the gap per order.

Where the values diverge
  1. CartItems subtotal
  2. CheckoutTax and shipping added
  3. Purchase eventvalue built from different fields
  4. GA4 and ad reportsMixed revenue definitions

The checkout is fine; the number that leaves it is not.

How to fix it

First write down your rule. A common one is: value = sum of item prices times quantity, minus discounts, excluding tax and shipping. Send tax and shipping separately so nothing is lost. Then apply that rule in one place only.

Set one definition everywhere
  1. Choose the definition

    Decide with whoever reads the reports whether value means product revenue or total paid. Match what your finance or shop admin calls revenue.

  2. Find every source of the purchase event

    List plugins, theme code, GTM tags, checkout scripts and server-side containers that send purchase. Remove duplicates so one source remains.

  3. Map fields to the rule

    Point value at the correct field (subtotal or total) and pass tax and shipping in their own parameters.

  4. Align other platforms

    Make Google Ads, Meta and other conversion tags read the same value variable.

  5. Retest

    Repeat the test baskets and check every one against the rule.

Where to change the value by platform
  1. Check the analytics plugin settings

    WooCommerce tracking plugins often have an option such as including or excluding tax and shipping in the revenue. Look in the plugin's ecommerce settings (names vary by plugin) and set it to your rule.

  2. Remove a second source

    If both a plugin and GTM send purchase, disable one so only one definition exists.

Purchase push: value without tax and shippingjavascript
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
  event: 'purchase',
  ecommerce: {
    transaction_id: 'T-10042',
    currency: 'USD',
    value: 100.00,   // items after discounts, no tax or shipping
    tax: 8.00,
    shipping: 12.00,
    items: [
      { item_id: 'SKU-1', item_name: 'Example product', price: 50.00, quantity: 2 }
    ]
  }
});

How to confirm it's fixed

Confirmation checks
  • Test orders with shipping, free shipping and a discount all follow the same rule in DebugView.
  • tax and shipping are sent as separate parameters.
  • GA4, Google Ads and Meta receive the same value for the same order.
  • Only one source sends the purchase event.
  • After a few days, GA4 revenue minus the shop admin revenue follows a predictable gap you can explain.
Purchase value definition

Before

  • Value is sometimes the subtotal, sometimes the grand total
  • Tags disagree with each other
  • Revenue never reconciles with the shop

After

  • One documented definition
  • Tax and shipping sent separately
  • All tags read the same value

How to prevent it happening again

Prevention habits
  • Keep the value rule in your tracking documentation.
  • Re-run test orders after theme, plugin, checkout or tax setting changes.
  • Keep one purchase source and one variable for value.
  • Review GA4 revenue against the shop admin every month.
  • Re-check after adding a new payment method, market or shipping rule.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. Its price_consistent check compares totals. It looks at whether the totals seen along the journey agree with each other, which can reveal a shift between figures.

It does not know your business rule for what value should contain, so it cannot tell on its own whether tax and shipping should be in or out. It also does not audit every real customer order or compare GA4 revenue with your shop admin over time.

Cover the rest by hand: write down your definition, run the test baskets above after each change, and compare GA4 revenue with your shop reports monthly. FunnelGuard's robot visitor can still run your checkout journey on a schedule and check the tracking hits, and it stops before payment unless your store's test mode is set up. A Free plan (1 site, 2 journeys, daily checks) is available with no card, and paid plans have a 3-day free trial.

Questions people ask

Should GA4 purchase value include tax and shipping?

Google does not force either choice. Most stores send value without tax and shipping to report product revenue, and send tax and shipping as separate parameters. Whichever you choose, use it for every order and every tag.

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

One common cause is that GA4 value includes tax and shipping while your shop report shows product sales. Other causes include duplicate purchase events or missing ones. Compare a single order in DebugView with the order in your shop to see which fields differ.

How do I send tax and shipping to GA4?

Add tax and shipping as numbers in the purchase event next to value, currency and transaction_id. In GTM, map them from your dataLayer to the GA4 event tag's event parameters.

Why does my purchase value change depending on the order?

The code may pick different fields in different cases, for example the total when shipping applies and the subtotal when it is free. A second tag or plugin may also be firing for some payment methods. Test several baskets and compare each to the rule.

Does the value in Google Ads need to match GA4?

It should if you want consistent reporting. If Google Ads uses a different variable, bidding learns from a different number than GA4 shows. Point all conversion tags at the same value variable.

Can FunnelGuard tell me if tax and shipping are included in my purchase value?

Only partly. FunnelGuard's price_consistent check compares totals, but it does not know which definition you intend. Use test orders and your shop reports to confirm the rule by hand.

How do I find where my purchase value comes from?

Open Google Tag Assistant or GTM Preview, place a test order and look at the purchase event. Trace value back to the dataLayer key or plugin setting that builds it.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: price_consistent compares totals.

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.