if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47342",
"name": "Zimné cyklistické nohavice Rapha Core s trakmi",
"price": "160.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36057",
"name": "Cyklistické nohavice s trakmi Trek Circuit Softshell Cycling Bib Tight",
"price": "129.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36058",
"name": "Trek Circuit Thermal Cycling Bib Tight",
"price": "99.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36059",
"name": "Trek Circuit Thermal Unpadded Cycling Tight",
"price": "59.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "96.75",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}