if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47317",
"name": "Dámska cyklistická vesta Rapha Core",
"price": "88.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "brown_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48613",
"name": "Zateplená vesta Rapha Brevet",
"price": "195.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47316",
"name": "Cyklistická vesta Rapha Core",
"price": "90.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}