if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33877",
"name": "Bębenek piasty 11-biegowy Bontrager Approved TK-32",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "94.9",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "10382",
"name": "VP Components A76CG 1-1/8˝ Headset",
"price": "69.9",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36769",
"name": "Unior M5 x 0.8 Frame Tap",
"price": "59.9",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "36510",
"name": "Unior M3 x 0.5 Frame Tap",
"price": "59.9",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "54.9",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}