if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "9049.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "6999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "4899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "4619.3",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "4549.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS T-Type Gen 3",
"price": "3749.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "3249.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36789",
"name": "Top Fuel 8 Gen 3",
"price": "3099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "2199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "2149.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "1799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}