if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "31550",
"name": "Opona do rowerów elektrycznych Bontrager LT4 Expert odblaskowa",
"price": "169.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "170.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34514",
"name": "Opona Electra Balloon Cruiser",
"price": "119.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}