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