if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37084",
"name": "Culote Trek Evoke Montaña",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37090",
"name": "Culote Trek Troslo Liner",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34847",
"name": "Culote con tirantes Santini Trek Factory Racing XC Réplica Hombre",
"price": "36.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}