if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48906",
"name": "Rapha merino baselayer",
"price": "85.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}