add_to_cart
A user adds items to the cart.
Status: Active
Availability: Live for checkout; CMS cart coming soon.
Triggered when a user adds one or more items to the cart on a booking site or adds extras/upgrades in the checkout portal.
If the add-to-cart action comes from availability search, a search snapshot is included (same shape as search_results_loaded.search).
Sample data layer snippet
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object. dataLayer.push({ "event": "add_to_cart", "ecommerce": { "currency": "EUR", "value": 350.0, "items": [ { "item_id": "123123", "item_name": "4-Person Luxury Villa", "item_brand": "Administration Name", "affiliation": "Website", "checkout_item_id": "987654", "item_category": "Accommodation", "item_category2": "house", "item_variant": "single_night", "item_list_id": "cart", "item_list_name": "Cart", "item_country": "Netherlands", "item_region": "Twente", "item_city": "Enschede", "administration_id": "321321", "administration_name": "Administration Name", "park_id": "321321", "currency": "EUR", "coupon": "SUMMER10", "discount": 25.0, "price": 350.0, "quantity": 1, "index": 1, "start_date": "2026-02-20", "end_date": "2026-02-22", "google_business_vertical": "hotel_rental" } ] }});Top-level objects
ecommerce
Ecommerce payload wrapper for GA4 events.
ecommerce.items[]
Items array for the ecommerce payload.