if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "32899",
"name": "Verve+ 3",
"price": "2280.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29190",
"name": "Verve+ 2",
"price": "1924.91",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29189",
"name": "Verve+ 2 Stagger",
"price": "1924.91",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35054",
"name": "Verve+ 2 Lowstep",
"price": "1924.91",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33050",
"name": "Verve+ 1 Lowstep DT",
"price": "1669.92",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35025",
"name": "Verve+ 1 Lowstep",
"price": "1648.96",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "29110",
"name": "Verve+ 1",
"price": "1648.96",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "29112",
"name": "Verve+ 1 Lowstep",
"price": "1365.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped Gen 2",
"price": "5360.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36992",
"name": "Rail 9 Gen 3",
"price": "5195.13",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35137",
"name": "Allant+ 9",
"price": "5000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35356",
"name": "Rail 9 GX Gen 2",
"price": "4950.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "4625.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "4549.89",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36973",
"name": "District+ 5",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36940",
"name": "District+ 5 Lowstep",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35033",
"name": "Rail 5 625 W Gen 2",
"price": "4410.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "32760",
"name": "Powerfly FS 7 Gen 2",
"price": "4275.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35445",
"name": "Powerfly 7 Equipped Gen 3",
"price": "4165.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "32818",
"name": "Powerfly FS 4 625 Gen 2",
"price": "4095.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "30228",
"name": "Allant+ 8",
"price": "4000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "32755",
"name": "Powerfly FS 4 Equipped Gen 2",
"price": "3760.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37007",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "3700.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}