if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "28498",
"name": "Opona do rowerów elektrycznych Bontrager E6 Hard-Case Lite",
"price": "179.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
}
,
{
"id": "34577",
"name": "Opona Electra Loft Hybrid",
"price": "119.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12712",
"name": "Opona Electra Amsterdam Hybrid 700c",
"price": "110.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12714",
"name": "Oryginalne opony Electra Townie",
"price": "74.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}