if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type 6e gén.",
"price": "7199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35388",
"name": "Slash 9.8 XT 5e gén.",
"price": "4949.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS 5e gén.",
"price": "4599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36730",
"name": "Slash 7 5e gén.",
"price": "2449.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}