if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41344",
"name": "District+ 3",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41345",
"name": "District+ 3 Lowstep",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40513",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40514",
"name": "Verve+ 4",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40512",
"name": "Verve+ 3 Gen 3",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40519",
"name": "Verve+ 4 Lowstep",
"price": "2825.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40515",
"name": "Verve+ 2 Gen 3",
"price": "2500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40516",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41506",
"name": "District+ 2 Lowstep",
"price": "2500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41507",
"name": "District+ 2",
"price": "2500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41606",
"name": "District+ 1 Lowstep",
"price": "2250.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41605",
"name": "District+ 1",
"price": "2250.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "2100.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40487",
"name": "Dual Sport+ 2 LT",
"price": "2000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40518",
"name": "Verve+ 1 LT Lowstep",
"price": "1800.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47256",
"name": "FX Sport SL 6",
"price": "2700.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "46126",
"name": "District+ 2 Belt Lowstep",
"price": "2700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "41644",
"name": "District+ 1 Coaster Lowstep",
"price": "2325.0",
"brand": "",
"category": "Electric hybrid bikes",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47263",
"name": "FX Sport SL 5",
"price": "1800.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "57139",
"name": "FX 2 Stepover Gen 4",
"price": "650.0",
"brand": "",
"category": "Active & fitness bikes",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "57142",
"name": "FX 2 Midstep Gen 4",
"price": "650.0",
"brand": "",
"category": "Active & fitness bikes",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41754",
"name": "District+ 5",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}