if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41743",
"name": "Wodoodporne zimowe rękawiczki rowerowe Trek Circuit",
"price": "269.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41744",
"name": "Rękawiczki rowerowe Trek Circuit Windshell",
"price": "219.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41745",
"name": "Rękawiczki rowerowe Trek Circuit Thermal",
"price": "179.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "37106",
"name": "Rękawiczki MTB unisex Trek Evoke",
"price": "135.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
]
}
});
} else {
console.log("dataLayer");
}