if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "21995",
"name": "Quadro 920",
"price": "1249.0",
"brand": "Trek",
"category": "920",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}