if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41605",
"name": "District+ 1",
"price": "2540.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41606",
"name": "District+ 1 Lowstep",
"price": "2540.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41010",
"name": "Marlin+ 6",
"price": "2500.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36789",
"name": "Top Fuel 8",
"price": "2495.03",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "2400.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41378",
"name": "Top Fuel 5",
"price": "2350.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2350.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "2150.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40490",
"name": "FX+ 2 LT",
"price": "2125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40491",
"name": "FX+ 2 Stagger LT",
"price": "2125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40487",
"name": "Dual Sport+ 2 LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40488",
"name": "Dual Sport+ 2 Stagger LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "2000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "2000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "1700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40804",
"name": "District 4 Stagger",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40803",
"name": "District 4 Equipped",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "1400.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40510",
"name": "District 3 Stagger",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40509",
"name": "District 3 Equipped",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "1200.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40503",
"name": "Dual Sport 3 Equipped Stagger Gen 5",
"price": "1100.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}