if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41738",
"name": "Cyklistická kukla Trek Windshell",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41739",
"name": "Termo cyklistický nákrčník Trek",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41737",
"name": "Cyklistická čiapka Trek Windshell",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41736",
"name": "Cyklistická čiapka pod prilbu Trek Windshell",
"price": "17.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41735",
"name": "Termo cyklistická čelenka Trek",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}