Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "25370",
"name": "Prilba Bontrager Charge WaveCel Commuter",
"price": "144.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "More Options",
"position": 1
}
,
{
"id": "31565",
"name": "Prilba na horský bicykel Bontrager Rally WaveCel",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "21849",
"name": "Cyklistická přilba Bontrager Quantum Mips",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "31568",
"name": "Cyklistická prilba Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "36025",
"name": "Cyklistická prilba Trek Solstice Mips",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "30467",
"name": "Cyklistická prilba Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "30482",
"name": "Cyklistická přilba Bontrager Solstice",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "40250",
"name": "Cyklistická prilba Trek Circuit Wavecel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 8
}
,
{
"id": "36028",
"name": "Cyklistická prilba Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}