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