if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "37110",
"name": "Rękawiczki MTB unisex młodzieżowe Trek Evoke",
"price": "95.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37109",
"name": "Rękawiczki rowerowe unisex Trek dla dzieci",
"price": "89.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22489",
"name": "Rękawiczki rowerowe dla dzieci Bontrager",
"price": "50.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "blue_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}