if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48907",
"name": "Camiseta interior Rapha Merino para mujer",
"price": "85.0",
"brand": "Rapha",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48906",
"name": "Camiseta interior Rapha Merino",
"price": "85.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47300",
"name": "Camiseta interior de ciclismo Rapha Lightweight Sleeveless",
"price": "63.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}