if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47342",
"name": "Zimowe spodnie elastyczne z szelkami Rapha Core",
"price": "699.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36058",
"name": "Trek Circuit Thermal Cycling Bib Tight",
"price": "449.0",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36059",
"name": "Trek Circuit Thermal Unpadded Cycling Tight",
"price": "269.0",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36057",
"name": "Spodnie rowerowe z szelkami Trek Circuit Softshell",
"price": "579.0",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "449.0",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}