ga_send_refund
Send refund events to Google Analytics 4 to record full or partial ecommerce refunds. Reference the original transaction_id; include item quantities for partial refunds.
Instructions
Send a refund event to Google Analytics.
Ecommerce event for full or partial refunds. Omit 'items' for a full refund; include them (with quantities) for a partial refund. Use the same transaction_id as the original purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Refunded items (only for partial refunds) | |
| value | No | Refunded amount | |
| user_id | No | ||
| currency | No | Currency code | |
| client_id | No | ||
| transaction_id | Yes | Transaction ID of the original purchase | |
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |