purchase
Legacy hybrid purchase payload (GA4 + UA fields).
Status: Deprecated
Replacement guidance: Use purchase with the standard ecommerce purchase payload.
Deprecated checkout portal payload that mixed GA4 ecommerce fields with legacy UA purchase data.
Included currencyCode and purchase.actionField/products alongside GA4 items.
Replaced by GA4 purchase with the standard ecommerce payload.
Sample data layer snippet
dataLayer.push({
"event": "purchase",
"ecommerce": {
"currency": "EUR",
"value": "350.00",
"transaction_id": "ORDER-123",
"items": [
{
"item_id": "A123",
"item_name": "Accommodation"
}
],
"currencyCode": "EUR"
}
});Top-level parameters
Still need help? Share an idea