if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "36911",
"name": "Allant+ 5 Lowstep",
"price": "25299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30464",
"name": "Allant+ 7 Lowstep",
"price": "24399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30463",
"name": "Allant+ 7",
"price": "24399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35077",
"name": "Allant+ 9.9S",
"price": "39199.3",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}