if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36361",
"name": "Fuel EXe 9.5",
"price": "4275.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32760",
"name": "Powerfly FS 7 Gen 2",
"price": "4275.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "4270.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35403",
"name": "Powerfly 7 Gen 3",
"price": "4230.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "4225.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36355",
"name": "Fuel EX 9.7 Gen 6",
"price": "4175.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36997",
"name": "Powerfly FS 4 Gen 3",
"price": "4175.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35034",
"name": "Rail 5 500 W Gen 2",
"price": "4140.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36358",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "3875.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "3875.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32755",
"name": "Powerfly FS 4 Equipped Gen 2",
"price": "3760.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35068",
"name": "Slash 9.7 Gen 5",
"price": "3700.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35402",
"name": "Powerfly 5 Gen 3",
"price": "3555.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33000",
"name": "Fuel EX 8 Gen 5",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35063",
"name": "Remedy 8",
"price": "3450.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "3425.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36731",
"name": "Slash 8 Gen 5",
"price": "3250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35072",
"name": "Top Fuel 8 Gen 3",
"price": "3250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35115",
"name": "Procaliber 9.8",
"price": "3250.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "32817",
"name": "Powerfly 4 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "2925.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "2800.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "pinklight_greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36348",
"name": "Fuel EX 8 Gen 6",
"price": "2600.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}