if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "37401",
"name": "Trek 2022 Rail Carbon 29 Bottle Cage S/M Lower Fastener",
"price": "55.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "27223",
"name": "Bontrager Line Elite Dropper Seatpost Cartridge",
"price": "1650.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "45392",
"name": "Bontrager Line Dropper 34.9mm Actuator Assembly",
"price": "420.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "16990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "57139",
"name": "FX 2 Stepover Gen 4",
"price": "17990.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "57142",
"name": "FX 2 Midstep Gen 4",
"price": "17990.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}