if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41478",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "6759.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41503",
"name": "Fuel EXe 8 XT",
"price": "6059.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41371",
"name": "Fuel EXe 5",
"price": "5059.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}