if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "32405",
"name": "Trek Aluminum Shock Mount Fastener",
"price": "49.9",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "37437",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "274.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32096",
"name": "Naklejka z logo na dolną rurę widełek tylnych Trek Top Fuel 29 2020",
"price": "59.9",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35738",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit 2020-2021 Trek Fuel EX",
"price": "274.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32449",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Carbon Frame Front Fender Bolt Locking Tab",
"price": "54.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32450",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Aluminum Frame Front Fender Bolt Locking Tab",
"price": "8.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44213",
"name": "RockShox 2021 Slash 29 Super Deluxe Thru Shaft Ultimate 230 x 62.5 Rear Shock",
"price": "3550.0",
"brand": "RockShox",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}