if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "36025",
"name": "Přilba Trek Solstice MIPS",
"price": "1599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34589",
"name": "Silniční přilba Trek Velocis MIPS",
"price": "7299.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37124",
"name": "Silniční přilba Trek Ballista Mips",
"price": "7299.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21849",
"name": "Cyklistická přilba Bontrager Quantum Mips",
"price": "2599.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30467",
"name": "Přilba Bontrager Solstice Mips",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14896",
"name": "Silniční přilba Bontrager Velocis Mips",
"price": "4199.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}