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": "46737",
"name": "Replika cyklistickej šiltovky Santini tímu Lidl-Trek",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41735",
"name": "Termo cyklistická čelenka Trek",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46743",
"name": "Cyklistický nákrčník Santini Lidl-Trek Team",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}