if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41328",
"name": "Fuel EX 8 GX AXS T-Type Gen 6",
"price": "4500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "1850.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41327",
"name": "Fuel EX 8 XT Gen 6",
"price": "3760.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "1750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1100.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47877",
"name": "Session 9 X01",
"price": "7500.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "6500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "48618",
"name": "Powerfly FS+ 8 Gen 4",
"price": "6400.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "48470",
"name": "Rail+ 8 Gen 5",
"price": "6000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "48617",
"name": "Powerfly FS+ 6 Gen 4",
"price": "5225.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "48458",
"name": "Rail+ 5 Gen 5",
"price": "5000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "48622",
"name": "Powerfly+ 8 Gen 5",
"price": "4550.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_bronze",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "46144",
"name": "Top Fuel 9 Gen 4",
"price": "4500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "4400.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "48614",
"name": "Powerfly FS+ 4 Gen 4",
"price": "4125.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "48621",
"name": "Powerfly+ 6 Gen 5",
"price": "3675.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "3500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "3300.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "48619",
"name": "Powerfly+ 4 Gen 5",
"price": "3050.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "2500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "46727",
"name": "Top Fuel AL Frame Set Gen 4",
"price": "2300.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41669",
"name": "Slash 9 GX AXS T-Type Gen 6",
"price": "5175.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1220.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal_black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}