if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40499",
"name": "Verve 2 Equipped Lowstep",
"price": "899.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40498",
"name": "Verve 2 Equipped",
"price": "899.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33509",
"name": "Verve 2 Equipped",
"price": "693.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}