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