if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33000",
"name": "Fuel EX 8 Gen 5",
"price": "3899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "1899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33359",
"name": "Kit telaio Fuel EX C Gen 5",
"price": "3899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40626",
"name": "Fuel EX C Frameset",
"price": "3799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33066",
"name": "Kit telaio Fuel EX AL Gen 5",
"price": "2149.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30253",
"name": "Kit telaio Fuel EX AL",
"price": "1799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}