if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35333",
"name": "Domane SL 7 3e gén.",
"price": "5219.1",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35303",
"name": "Domane SL 6 3e gén.",
"price": "2924.25",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}