dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "view_item_list",
ecommerce: {
item_list_id: "category_products",
item_list_name: "Category products",
items: [
{
item_id: "36731",
item_name: "Magic Cat plišasta miška - 6 cm",
discount: 0.3,
index: 0,
item_brand: "Magic Cat",
item_category: "Cats", item_category2: "Cat Toys", item_category3: "Other Toys",
price: 0.99,
quantity: 1
},
{
item_id: "36732",
item_name: "Magic Cat miš s pernatim repom - 6 cm",
discount: 0.48,
index: 1,
item_brand: "Magic Cat",
item_category: "Cats", item_category2: "Cat Toys", item_category3: "Other Toys",
price: 1.59,
quantity: 1
},
]
}
});