if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "47096",
"name": "Slash+ 9.9 X0 AXS T-Type",
"price": "314990.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47091",
"name": "Slash+ 9.7 SLX/XT",
"price": "209990.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35356",
"name": "Rail 9 GX Gen 2",
"price": "149017.5",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "117990.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41036",
"name": "Powerfly 4 625W Gen 4",
"price": "97490.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_greydark",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}