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": "40487",
"name": "Dual Sport+ 2 LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40488",
"name": "Dual Sport+ 2 Mid-step LT",
"price": "2050.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40804",
"name": "District 4 Mid-step",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40510",
"name": "District 3 Mid-step",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "900.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "40511",
"name": "Dual Sport 2 Mid-step Gen 5",
"price": "875.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "875.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}