if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "33479",
"name": "District+ 1 Lowstep",
"price": "2125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33480",
"name": "District+ 1 Midstep",
"price": "2125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33478",
"name": "District+ 1",
"price": "2125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33525",
"name": "District+ 4 Lowstep",
"price": "2100.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33524",
"name": "District+ 4",
"price": "2100.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33050",
"name": "Verve+ 1 Lowstep DT",
"price": "2025.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35853",
"name": "Dual Sport+ 2 Stagger",
"price": "2025.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35852",
"name": "Dual Sport+ 2",
"price": "2025.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "29110",
"name": "Verve+ 1",
"price": "2000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35025",
"name": "Verve+ 1 Lowstep",
"price": "2000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28897",
"name": "District+ 2 Stagger",
"price": "1980.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "27981",
"name": "District+ 2",
"price": "1980.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33481",
"name": "District+ 1",
"price": "1960.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33482",
"name": "District+ 1 Lowstep",
"price": "1820.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "33498",
"name": "District 4 Equipped Stagger",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "33497",
"name": "District 4 Equipped",
"price": "1675.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "29112",
"name": "Verve+ 1 Lowstep",
"price": "1365.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33495",
"name": "District 3 Equipped",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "33496",
"name": "District 3 Equipped Stagger",
"price": "1300.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "1100.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36962",
"name": "Dual Sport 3 Equipped Stagger Gen 5",
"price": "1100.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36963",
"name": "Dual Sport 3 Equipped Gen 5",
"price": "1100.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35108",
"name": "FX 3 Disc Equipped Stagger",
"price": "1100.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}