if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "40498",
"name": "Verve 2 Equipped",
"price": "825.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "700.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "680.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "500.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24533",
"name": "Loft 7i EQ Step-Thru",
"price": "475.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "450.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "425.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24531",
"name": "Loft 7D EQ Step-Thru",
"price": "400.0",
"brand": "Electra",
"category": "Loft",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "350.0",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36846",
"name": "Precaliber 24 8-Speed Suspension",
"price": "350.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36268",
"name": "Precaliber 20 7-Speed",
"price": "330.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "280.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36271",
"name": "Precaliber 20 Freewheel",
"price": "280.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "250.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36933",
"name": "Allant+ 7 Stagger",
"price": "2950.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frame Set",
"price": "2900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35664",
"name": "Crockett Disc Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35746",
"name": "Speed Concept TT Frame Set",
"price": "6300.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35671",
"name": "Speed Concept SLR Frame Set",
"price": "5825.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35920",
"name": "1120 Frame Set",
"price": "1150.0",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "21995",
"name": "920 Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "920",
"variant": "tan",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37982",
"name": "Marlin Frameset Gen 3",
"price": "600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}