if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "549.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}