if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48907",
"name": "Dámska cyklistická funkčná bielizeň Rapha z merino vlny",
"price": "85.0",
"brand": "Rapha",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48906",
"name": "Cyklistická funkčná bielizeň Rapha z merino vlny",
"price": "85.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}