...
Anschauen des Warenkorbes
Zu Klären: welcher hook / wie stelle ich fest das der warenkorb angeschaut wird=? nseitenTyp?Hook: 'HOOK_WARENKORB_PAGE', 52
Code Block | ||
---|---|---|
| ||
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object. dataLayer.push({ event: "view_cart", ecommerce: { currency: "USD", value: 7.77, items: [ { item_id: "SKU_12345", item_name: "Stan and Friends Tee", affiliation: "Google Merchandise Store", coupon: "SUMMER_FUN", currency: "USD", discount: 2.22, index: 0, item_brand: "Google", item_category: "Apparel", item_category2: "Adult", item_category3: "Shirts", item_category4: "Crew", item_category5: "Short sleeve", item_list_id: "related_products", item_list_name: "Related Products", item_variant: "green", location_id: "L_12345", price: 9.99, quantity: 1 } ] } }); |
...