if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47317",
"name": "Damska kamizelka rowerowa Rapha Core",
"price": "419.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "brown_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48613",
"name": "Kamizelka z izolacją Raph Brevet",
"price": "899.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47316",
"name": "Kamizelka rowerowa Rapha Core",
"price": "419.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}