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.
Example: five orders worth $500 in your store, reported at different amounts in GA4 depending on the cause.
- Order placedCustomer pays the real total
- Purchase eventvalue differs from total
- GA4 revenueWrong revenue and ROAS
- 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
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.
Open the event in a debugger
In GA4 go to Admin > DebugView, or use Tag Assistant or your browser's Network tab. Find the
purchaseevent on the confirmation page.Read value and currency
Note
value,currency,tax,shippingand theitemsprices.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.
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.
| What you see | Likely cause |
|---|---|
| value higher than total | Pre-discount price sent, or shipping and tax added twice |
| value lower than total | Shipping, tax or fees left out, or discount applied twice |
| value is 0 or empty | Variable read before it exists, or wrong data layer path |
| value like 1 or 100x off | Price sent in cents, or as text with a symbol or comma |
| Differs only for some orders | Currency 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.
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.
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.Remove duplicate tracking
If both an app and a custom pixel send purchases, remove one so values do not conflict.
Find the plugin sending the event
For WooCommerce this is usually a GA4 or Google Tag plugin. Open its ecommerce settings.
Set what value includes
Many plugins have an option to include or exclude tax and shipping in the purchase value. Choose your rule.
Fix a custom data layer
If a theme or snippet pushes the value, read it from
$order->get_total(), which is the final total, and output it as a number.
Inspect the data layer push
In Preview mode, open the
purchasepush and checkecommerce.value.Check your variable
Make sure the GA4 event tag reads
ecommerce.valuethrough a Data Layer Variable with the exact path, and does not hard-code or calculate its own number.Fix the source
If the pushed value is wrong, the fix is in the site code that builds the data layer, not in GTM.
Build value from the final total
Use the same server-side field that prints the order total on the confirmation page.
Send numbers, not text
Strip symbols and thousands separators, and use a dot as the decimal separator.
Set currency
Send the currency the customer paid in as a three-letter code such as USD or EUR.
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 }
]
}
});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
- Place a new test order with a discount and paid shipping
- The
valuein DebugView equals the amount you chose to track currencymatches the currency the customer paid invalueis 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.
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.
Related issues
- TRK-081purchase value includes or excludes tax/shipping inconsistentlyFix guide
- TRK-078purchase sent without transaction_idFix guide
- TRK-085item price sent as string or with currency symbolFix guide
- TRK-095Currency on items differs from event currencyFix guide
- TRK-092Old UA enhanced ecommerce schema pushed instead of GA4 schemaFix guide
- TRK-077purchase event missing on order confirmationFix guide