if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41027",
"name": "Verve+ 5 Lowstep",
"price": "3950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41021",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "3700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step Gen 2",
"price": "3700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40519",
"name": "Verve+ 4 Lowstep",
"price": "3175.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40513",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3150.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41345",
"name": "District+ 3 Lowstep",
"price": "3125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "3000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "3000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40516",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41506",
"name": "District+ 2 Lowstep",
"price": "2820.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41606",
"name": "District+ 1 Lowstep",
"price": "2540.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "2400.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "2150.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40804",
"name": "District 4 Mid-step",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40510",
"name": "District 3 Mid-step",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "900.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40497",
"name": "Verve 1 Equipped Lowstep",
"price": "675.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "46126",
"name": "District+ 2 Belt Lowstep",
"price": "3100.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "1000.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}