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