if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47281",
"name": "Slash 9.9 XX AXS T-Type 6e gén.",
"price": "12499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS T-Type 6e gén.",
"price": "9999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47246",
"name": "Slash SE 5e gén.",
"price": "8999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "brown_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47278",
"name": "Slash 9.8 GX AXS T-Type 6e gén.",
"price": "7999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47279",
"name": "Slash 9.8 XT 6e gén.",
"price": "7899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}