if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47355",
"name": "Culote con tirantes Rapha Core de mujer para inverno",
"price": "160.0",
"brand": "Rapha",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36060",
"name": "Trek Circuit Women's Thermal Unpadded Cycling Tight",
"price": "47.99",
"brand": "Trek",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "96.75",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}