window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'begin_checkout', // name of the event. In this case, it always must be begin_checkout ecommerce: { items: [{ // an array with all products (that were in a cart when the checkout began) item_name: 'Hotel Terme Jezerčica', // insert an actual accommodation name item_id: 'accommodation1', // insert an actual accommodation ID price: '250.00', // insert an actual accommodation price. Number or a string. Don't include currency code item_category: 'Hotels', // insert an actual accommodation top-level category accommodation_location: 'Donja Stubica', // insert a accommodation location item_variant: 'Standard twin room, balcony', // insert room type or similar check_in_date: '15.05.2025.', // insert check in date check_out_date: '16.06.2026.', // insert check in date number_of_nights: '1', // insert number of nights quantity: '1' // product quantity of how many products were added to a wishlist, usually always 1 }] } });