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
}
]
}
});
} else {
console.log("dataLayer");
}