if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "500.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "400.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41754",
"name": "District+ 5",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41026",
"name": "Verve+ 5",
"price": "3950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41027",
"name": "Verve+ 5 Lowstep",
"price": "3950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41021",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "3700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step Gen 2",
"price": "3700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41029",
"name": "Allant+ 7 Gen 2",
"price": "3700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40514",
"name": "Verve+ 4",
"price": "3175.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40519",
"name": "Verve+ 4 Lowstep",
"price": "3175.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40513",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3150.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40512",
"name": "Verve+ 3 Gen 3",
"price": "3150.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "41344",
"name": "District+ 3",
"price": "3125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "41345",
"name": "District+ 3 Lowstep",
"price": "3125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "3000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "3000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "3000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "40515",
"name": "Verve+ 2 Gen 3",
"price": "2950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40516",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}