if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41506",
"name": "District+ 2 Lowstep",
"price": "3069.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41507",
"name": "District+ 2",
"price": "3069.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41605",
"name": "District+ 1",
"price": "2769.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41606",
"name": "District+ 1 Lowstep",
"price": "2769.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46126",
"name": "District+ 2 Belt Lowstep",
"price": "3379.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33480",
"name": "District+ 1 Midstep",
"price": "1949.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}