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
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "2599.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "2299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}