if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35214",
"name": "Cuadro Remedy 27.5 C",
"price": "4299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38642",
"name": "Cuadro Remedy AL",
"price": "2499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32862",
"name": "Remedy 8 XT",
"price": "3399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33369",
"name": "Cuadro Remedy 27.5 Aluminio",
"price": "2199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}