Can I Track Coupon Use on Google Analytics?

Google Analytics 4 includes a pre-built Order Coupons report that displays the revenue associated with each coupon used on your site or app. You can customize this report with additional dimensions, metrics, and filters to monitor your promotional performance.

To access it, navigate to:
Reports → Monetization → Monetization Overview → Purchase Revenue by Order Coupon.
This report will only appear after GA4 has received coupon data from your site or tracking setup.

To populate the Order coupon dimension in GA4, you must send the coupon parameter alongside eligible online sales events (such as purchase). This parameter links the sale or conversion back to a specific coupon and enables GA4 to attribute revenue accurately.

Example event structure:

  transaction_id: "T12345",
  value: 50.00,
  currency: "USD",
  coupon: "SAVE10"
});

Gleam’s Post Entry Webhooks allow you to push data about actions and rewards directly into your analytics setup. When a user unlocks or redeems a Reward (for example, a coupon), the webhook sends a JSON payload containing details such as the user, campaign, and coupon code to your chosen endpoint.

Example JSON payload:

  "campaign": {
    "name": "My Campaign",
    "key": "a1XyD",
    "type": "Reward"
  },
  "reward": {
    "type": "Coupon",
    "code": "SAVE10"
  },
  "user": {
    "email": "user@example.com",
    "country": "Australia"
  },
  "entry": {
    "action": "Redeem Coupon",
    "created_at": "2025-10-08 10:20:00 UTC"
  }
}

You can use this data to create a custom event in your site’s dataLayer, for example:

  event: "coupon_issued",
  coupon_code: "SAVE10",
  user_email: "user@example.com"
});

This event can then be captured by Google Tag Manager (GTM) to trigger a GA4 event (coupon_issued or reward_unlocked), populating the same coupon parameter used by GA4’s monetization reports.

To learn more about configuring webhooks, visit Post Entry Webhooks Documentation.