if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34949",
"name": "Bontrager Approved Loose Ball Rear Freewheel Hub Axle Kit",
"price": "94.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34952",
"name": "Bontrager Approved Loose Ball Road Rear Hub Axle Kit",
"price": "94.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34950",
"name": "Bontrager Approved Loose Ball 11-Speed Road Hub Axle Kit",
"price": "94.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34948",
"name": "Bontrager Approved Loose Ball Front 6-Bolt Hub Axle Kit",
"price": "89.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41791",
"name": "Bontrager Approved Loose Ball Front Center Lock Hub Axle Kit",
"price": "89.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "34951",
"name": "Bontrager Approved Loose Ball City/MTB Rear Hub Axle Kit",
"price": "89.9",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "35241",
"name": "Trek-Diamant SKS 700C x 46mm Tall 113-Degree Front Fender",
"price": "120.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}