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.
| Definition | value sent | Effect on reports |
|---|---|---|
| Items only | $100 | Matches product revenue |
| Items + tax | $108 | Revenue looks 8% higher |
| Items + tax + shipping | $120 | Revenue looks 20% higher |
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
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.
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,shippingand the items prices.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.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.
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.
- CartItems subtotal
- CheckoutTax and shipping added
- Purchase eventvalue built from different fields
- 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.
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.
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.
Map fields to the rule
Point value at the correct field (subtotal or total) and pass tax and shipping in their own parameters.
Align other platforms
Make Google Ads, Meta and other conversion tags read the same value variable.
Retest
Repeat the test baskets and check every one against the rule.
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.
Remove a second source
If both a plugin and GTM send purchase, disable one so only one definition exists.
Use one source
Shopify's checkout exposes subtotal and total price fields. Check which one your pixel or app uses. Customer events and apps differ in what they send, so read the app's documentation.
Fix custom code
If you use a custom pixel, build value from the subtotal for items only, or from the total price including tax and shipping, then pass tax and shipping separately.
Inspect the dataLayer variables
In Preview mode, open the purchase push and see which keys feed the GA4 event tag's value.
Use one variable for all tags
Create a single Data Layer Variable (or a Custom JavaScript variable) for value and use it in GA4, Google Ads and other tags.
Check the checkout script
Webflow Ecommerce purchase tracking is usually added through custom code or GTM. Make sure the script reads the same totals in every case.
Compute value in one function
Build the purchase payload in one server-side or template function and reuse it for every tag, as in the snippet below.
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
- Test orders with shipping, free shipping and a discount all follow the same rule in DebugView.
taxandshippingare 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.
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
- 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.
Related issues
- TRK-082purchase value differs from order totalFix guide
- TRK-078purchase sent without transaction_idFix guide
- TRK-079purchase fires twice (refresh of thank-you page)Fix guide
- TRK-077purchase event missing on order confirmationFix guide
- TRK-095Currency on items differs from event currencyFix guide
- TRK-094Coupon parameter missingFix guide