if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35648",
"name": "Quadro Top Fuel C Gen 3",
"price": "4699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "4349.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42273",
"name": "Quadro Top Fuel C Gen 3",
"price": "3649.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "2799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}