if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "37098",
"name": "Rękawiczki rowerowe unisex z pełnymi palcami i wkładkami żelowymi Trek Circuit Twin Gel",
"price": "159.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48910",
"name": "Rękawiczki rowerowe Rapha z wełny merynosów",
"price": "299.0",
"brand": "Rapha",
"category": "Full finger cycling gloves",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31923",
"name": "Rękawiczki na rower górski 100% Ridecamp",
"price": "149.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34506",
"name": "Rękawiczki rowerowe z wkładkami żelowymi Twin Gel Bontrager Circuit z pełnymi palcami",
"price": "132.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}