if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "8500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "48618",
"name": "Powerfly FS+ 8 Gen 4",
"price": "6400.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "48617",
"name": "Powerfly FS+ 6 Gen 4",
"price": "5225.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "33369",
"name": "Remedy 27.5 Al Frame Set",
"price": "1950.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37053",
"name": "Fetch+ 4",
"price": "5500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "48614",
"name": "Powerfly FS+ 4 Gen 4",
"price": "4125.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "2600.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "38642",
"name": "Remedy AL Frameset",
"price": "2325.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "36271",
"name": "Precaliber 20 Freewheel",
"price": "280.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "48465",
"name": "Rail+ 9.8 GX AXS T-Type Gen 5",
"price": "7750.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "47829",
"name": "Procaliber C Frame Set Gen 3",
"price": "1400.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "280.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "48452",
"name": "Rail+ 9.8 XT Gen 5",
"price": "7750.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "4800.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41754",
"name": "District+ 5",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "36700",
"name": "Domane+ SLR 6 AXS",
"price": "8400.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "35137",
"name": "Allant+ 9",
"price": "5000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_blue",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "37603",
"name": "Allant+ 9 Lowstep",
"price": "4700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "36936",
"name": "Allant+ 9",
"price": "4700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "35033",
"name": "Rail 5 625 W Gen 2",
"price": "4410.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "30463",
"name": "Allant+ 7",
"price": "2920.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 24
}
,
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "5600.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 25
}
,
{
"id": "36973",
"name": "District+ 5",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 26
}
,
{
"id": "36940",
"name": "District+ 5 Lowstep",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 27
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "3425.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 28
}
]
}
});
} else {
console.log("dataLayer");
}