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
}
]
}
});
} else {
console.log("dataLayer");
}