GA4's Built-In Coupon Parameters
GA4 ecommerce events have native coupon parameters at two levels: order-level and item-level. Most implementations include neither — leaving valuable data about which discount campaigns drove purchases invisible in reports.
The two coupon parameters:
couponat the event level: the discount code applied to the entire ordercouponanddiscountat the item level: the coupon applied to a specific item and the monetary discount amount for that item
Implementing Order-Level Coupon Tracking
Add the coupon parameter to your checkout events and purchase event whenever a coupon is applied:
// begin_checkout with applied coupon
dataLayer.push({ecommerce: null});
dataLayer.push({
event: "begin_checkout",
ecommerce: {
currency: "GBP",
value: 80.10, // value after discount
coupon: "SUMMER20", // the coupon code
items: [...]
}
});
// purchase with coupon
dataLayer.push({ecommerce: null});
dataLayer.push({
event: "purchase",
ecommerce: {
transaction_id: "T-123",
value: 80.10,
coupon: "SUMMER20",
currency: "GBP",
items: [...]
}
});
If no coupon is applied, omit the coupon parameter entirely (do not send an empty string).
Implementing Item-Level Coupon and Discount
For promotions applied to specific items (not the whole order), add coupon and discount to the item object:
items: [{
item_id: "SKU-001",
item_name: "Blue Running Shoe",
price: 89.00, // original price
discount: 17.80, // discount amount applied (20%)
coupon: "SHOE20", // item-specific coupon
quantity: 1
}]
The value in the event should be the total after all discounts (price × quantity − discount × quantity for each item). GA4 uses the price field as the price before discount and adds the discount field to track the markdown.
Reading Coupon Performance in GA4
Once coupon data is in GA4, find it at: Reports then Monetisation then Ecommerce purchases. Add "Order coupon" as a secondary dimension to see revenue and transactions broken down by coupon code.
Key metrics to analyse per coupon:
- Transactions: how many orders used this coupon
- Revenue: total revenue from orders with this coupon (post-discount)
- Revenue per transaction: average order value for orders using this coupon
Building Coupon Audiences for Google Ads
Customers who have used discount coupons are often price-sensitive and may respond well to future promotional campaigns. Build a GA4 audience of users who triggered a purchase event with a specific coupon, then use it in Google Ads for repeat purchase campaigns with promotional messaging.
Summary
Coupon tracking in GA4 requires adding the coupon parameter to begin_checkout and purchase events, and optionally the coupon and discount parameters at the item level for item-specific promotions. Once implemented, coupon performance analysis shows which discount campaigns drive volume vs which drive high-value orders — and whether the revenue contribution justifies the discount cost.
See our Enhanced Ecommerce Tracking service for coupon tracking implementation.
Need coupon performance tracking set up? Contact Adslytics.
Need expert tracking setup?
Our Google Tag Manager experts have delivered 500+ tracking setups with a 98% success rate.
Get a Free Consultation →