Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "36025",
"name": "Přilba Trek Solstice MIPS",
"price": "1999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "40250",
"name": "Přilba Trek Circuit WaveCel",
"price": "4399.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 2
}
,
{
"id": "31568",
"name": "Cyklistická přilba Bontrager Starvos WaveCel",
"price": "2199.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "31565",
"name": "Horská cyklistická přilba Bontrager Rally WaveCel",
"price": "2599.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "25370",
"name": "Přilba pro dojíždění Bontrager Charge WaveCel",
"price": "3699.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "More Options",
"position": 5
}
,
{
"id": "36028",
"name": "Cyklistická přilba Trek Solstice",
"price": "1099.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "21849",
"name": "Cyklistická přilba Bontrager Quantum Mips",
"price": "2599.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "30467",
"name": "Přilba Bontrager Solstice Mips",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "30482",
"name": "Cyklistická přilba Bontrager Solstice",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}