if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "4250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1350.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41689",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41645",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "11275.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41681",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9400.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36954",
"name": "Fuel EX 9.9 XTR Gen 6",
"price": "9275.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "8950.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "8475.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41814",
"name": "Slash 9.8 XT Gen 6",
"price": "7425.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "6750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "6600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "4700.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS T-Type Gen 3",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36789",
"name": "Top Fuel 8 Gen 3",
"price": "2775.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "2000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "42272",
"name": "Slash C Gen 6 Frame Set",
"price": "4700.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37141",
"name": "Fuel EX C Gen 6 Frame Set",
"price": "4450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35214",
"name": "Remedy 27.5 C Frame Set",
"price": "3975.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "42273",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "3099.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "42271",
"name": "Slash AL Gen 6 Frame Set",
"price": "3000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35649",
"name": "Top Fuel AL Gen 3 Frame Set",
"price": "2600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37142",
"name": "Fuel EX AL Gen 6 Frame Set",
"price": "2600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "38642",
"name": "Remedy AL Frameset",
"price": "2325.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}