Separate the code from the price
When a Hong Kong shop applies a coupon, the checkout system decides eligibility and the final amount due. GA4 records what the shop sends; the mere presence of a coupon string does not cause Analytics to recalculate a price or prove the customer saved money. Use an event-level coupon for an offer applied to the entire transaction and an item-level coupon inside an item for an offer associated with that particular product. Google describes the two parameter scopes as independent. Neither scope replaces the purchase event, its stable transaction ID, currency, purchased items or the actually paid values. This article addresses the measurement after a valid discount, not how the checkout decides whether a code is valid.
Plan the mapping from your commercial rules rather than copying labels indiscriminately. An order-wide code should appear at the event level when the final sale actually used it. If it reduces the selling price of several items, allocate the amount to those items using a documented, consistent rule so item reports reflect the real paid amounts. An item-only code belongs with the eligible item and should not be placed on every other product simply because they shared a basket. If one checkout can stack several promotions, decide which identifier the single coupon field represents and retain the full promotion ledger internally; never silently concatenate unrelated codes into a label that nobody can interpret later. Keep the code naming consistent without treating the code itself as sensitive customer data.
Send the discounted unit price explicitly
Google's discount guidance states that item discount is a monetary amount, not a percentage, and that Analytics does not automatically subtract discount from price. For an item purchased with a unit discount, set the item price to the actual discounted unit price and its discount parameter to the unit reduction. Multiply each by quantity when checking totals. If you leave the original price in the item while also adding a discount parameter, a dashboard can appear to show a discount while item revenue still follows the original price. That mismatch is not an Analytics rounding problem; it reflects the data the site sent. Keep a test purchase showing original unit price, reduction, net unit price and quantity so another staff member can audit the mapping.
For a deliberately simple illustrative Hong Kong order, suppose two units of item A normally cost HK$100 each and one unit of item B normally costs HK$80. A confirmed HK$30 order-wide discount is allocated, under this example shop's rule, as HK$10 off each of the three units. Item A is sent at a net unit price of HK$90 with unit discount HK$10 and quantity two; B is sent at HK$70 with discount HK$10 and quantity one. The item total is therefore HK$250, calculated as HK$90 times two plus HK$70. The original item total was HK$280. The event-level coupon identifies the order offer; the event value should reconcile to the net item total under Google's ecommerce example. These are invented teaching amounts, not observed sales.
That neat example is not a universal allocation rule. Real baskets can contain unequal quantities, excluded products, category-specific promotions, currency rounding and multiple reductions. Decide the allocation in the same order calculator that produces the customer's final charge, then test that the sum of discounted item prices times quantities reconciles to the intended merchandise amount. If a rule leaves a small rounding remainder, assign and record it to a specific eligible item consistently, rather than quietly making the event total disagree with its item array. Do not assume shipping or tax is part of the item revenue: Google's item-revenue definition excludes both. Preserve the receipt and the calculation so differences can be diagnosed without making up a new discount value.
Test the actual purchase payload
Instrument the final confirmed purchase, not every time somebody types a coupon or sees a green 'applied' message. If the customer later removes the code before paying, the final purchase must not claim the abandoned coupon. A store can log a separate application attempt for its own diagnostics, but that attempt is not an ecommerce purchase and should not be mixed into order-coupon revenue. In the final payload, inspect transaction_id, currency, value, event-level coupon and each item's ID, quantity, price, discount and optional item coupon. Test a purchase with no coupon, an order-wide coupon, an item-only coupon, an ineligible item and a removed coupon. Compare each result with the shop's actual receipt, not a mock checkout preview.
Google's reporting terms distinguish Order coupon from Item coupon. The former is populated by the event-level parameter; the latter by an item-level parameter. A shop that sends an order code only inside an item should not expect it to appear automatically in the order-coupons view. Likewise, a shop that sends only an event-level code should not assume that every item's coupon dimension is populated. Check the available report against a controlled purchase after reporting has processed, with the same property and date range. If the default Order coupons report is missing from the navigation, Google's Help says it may have been removed from the default view and editors can add it back; absence of a menu item alone is not proof that collection failed.
When reviewing a coupon row, separate a report's attributed purchase revenue from a causal claim about the promotion. People who used a code might have purchased anyway; the report alone does not measure incremental demand or profit. Purchase revenue can also reflect refunds, while item revenue is built from item price and quantity under the documented ecommerce definitions. Compare the report's date window, currencies, refund handling and any changed filters before explaining a difference from the commerce ledger. A code with many transactions can be expensive if discounts consume margin; a code with few transactions could serve a valuable retention purpose. Decide the business question first, then choose a comparison that can actually answer it.
Check which price actually changed
A promotion described as 'ten percent off' still needs a monetary allocation at measurement time. Calculate the discount from the checkout's actual eligible products and unit prices, applying its own rounding and exclusion rules, rather than sending the number 10 into GA4's item discount field. If a fixed order credit applies after another item sale, do not infer the unit reduction from a pre-discount display price that was never charged. Test the case in which a code is accepted but gives no item reduction because an eligibility threshold was not met; a code applied in the interface is not necessarily a discount on the completed purchase. Keep the distinction between coupon identification, actual item price and total charged amount visible in the test evidence.
A useful reconciliation table for each test order has columns for item ID, eligible quantity, original unit price, allocated unit reduction and net unit price, followed by a calculated merchandise subtotal. Keep shipping, tax and payment adjustments in separately named columns, according to how the checkout and your event definition treat them. If the order contains a free gift, verify whether the gift is represented as a real item with an appropriate actual paid price rather than inflating paid merchandise. The test is not 'does a coupon name appear somewhere in Analytics?' It is 'can another operator reproduce the amount the customer actually paid from the same order record and understand why the reported order and item dimensions differ?' That is the threshold for trusting a coupon report as descriptive evidence.
Give measurement a clear owner
Create a small mapping note maintained jointly by the checkout and analytics owners. It should state which commercial discounts reduce item prices, where the order code is stored, when an item code is populated, which amount the event value represents and how the rounding residual is allocated. The source of truth remains the charged order and subsequent returns; GA4 is a measurement copy with processing and reporting differences. When a promotion changes, rerun the controlled cases rather than trusting that last month's mapping still holds. A platform migration can silently move a coupon from event scope into item scope, leaving both dashboards populated differently while the customer-facing checkout looks unchanged.
There is no need to populate both coupon levels for every order. If the offer is genuinely order-wide, the order coupon is essential for that question; if it targets only one product, its item context may be the useful evidence. Google's example allows an order coupon to appear optionally on participating items as well, but only when that accurately expresses the discount's application. Avoid making every item appear discounted when a code affected shipping alone. If an order-wide shipping promotion does not reduce merchandise prices, do not manufacture an item discount just to fill an item report. Record shipping separately according to the actual purchase payload and verify the final customer's charge independently.
The immediate test is modest: select one completed discounted order whose receipt the team can safely use, inspect the sent event and calculate the expected merchandise total manually. If the net item sum, event value and receipt do not reconcile under the stated convention, fix the checkout-to-analytics mapping before discussing coupon effectiveness. If they do reconcile, confirm whether the code appears in the correct order or item dimension once GA4 reporting processes it. Record the test ID internally without exposing customer information in public documentation. That sequence produces a trustworthy measurement definition; it does not promise the promotion caused any extra orders.
Before you proceed
- Map order-wide and item-only codes to their respective event and item scopes.
- Send net unit price and monetary unit discount; reconcile quantity-weighted items to the receipt.
- Verify the final purchase payload and correct coupon dimension before judging performance.


