if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37082",
"name": "Camiseta técnica Trek Evoke Montaña",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45017",
"name": "Maillot de manga larga Airmatic 100% Trek Factory Racing",
"price": "64.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22790",
"name": "Camiseta técnica de ciclismo Bontrager Quantum Fitness",
"price": "12.0",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}