if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "40515",
"name": "Verve+ 2 Gen 3",
"price": "25699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40516",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "25699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "20899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}