if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41527",
"name": "Rail 8 GX AXS T-typ Gen 3",
"price": "71999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35336",
"name": "Rail 9.5, Gen 2",
"price": "71099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped, Gen 3",
"price": "70499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "58399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "35035",
"name": "Rail 7, Gen 2",
"price": "53324.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "37044",
"name": "Powerfly 5 Gen 4",
"price": "50499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "35402",
"name": "Powerfly 5, Gen 3",
"price": "47099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "32817",
"name": "Powerfly 4, Gen 3",
"price": "40099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "35677",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "149399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-typ Gen 4",
"price": "102199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped, Gen 2",
"price": "66479.2",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "63799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "56799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "41036",
"name": "Powerfly 4 625 W Gen 4",
"price": "48999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_greydark",
"list": "PRODUCTSEARCH",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}