if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37082",
"name": "Funkčné tričko Trek Evoke Mountain Bike",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37365",
"name": "Cyklistický termodres s dlhým rukávom Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "79.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34653",
"name": "Cyklistický nátelník Trek Solstice",
"price": "29.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34650",
"name": "Cyklistický nátelník Trek Circuit LTD",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34651",
"name": "Cyklistický nátelník Trek Circuit",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36068",
"name": "Cyklistický dres s dlhým rukávom Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "55.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}