add_to_cart
Legacy add_to_cart payload (pre-GA4 ecommerce structure).
Status: Deprecated
Replacement guidance: Use add_to_cart with ecommerce.items[].
Deprecated payload that placed currency, value, and items at the top level.
CMS sent only a single rentable type id with optional dates; PMS used prefixed item ids (A/C/P) with richer item fields.
Replaced by GA4 add_to_cart with ecommerce.items.
Sample data layer snippet
dataLayer.push({ "event": "add_to_cart", "currency": "EUR", "value": 350, "items": [ { "item_id": "A123", "item_name": "Amenity", "start_date": "2026-02-20", "end_date": "2026-02-22" } ]});