if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "52234",
"name": "Trek Aeolus Elite AirLoom Bike Saddle",
"price": "300.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44797",
"name": "Trek CarBack Radar Rear Bike Light",
"price": "300.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tyre",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "140.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44488",
"name": "Bontrager Montrose RSL XT TLR MTB Tyre",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44800",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "115.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44486",
"name": "Bontrager Sainte-Anne RSL XR TLR MTB Tyre",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34499",
"name": "Bontrager Aeolus Pro 51 TLR Disc Road Wheel",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36036",
"name": "Trek RSL Knit Road Cycling Shoes",
"price": "750.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34588",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "400.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40249",
"name": "Trek Circuit Wavecel Helmet",
"price": "250.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tealdark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "23403",
"name": "Bontrager Commuter Fluid Bike Saddle",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41409",
"name": "Trek Line Elite Flat Pedal Set",
"price": "90.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47358",
"name": "Trek Adventure Top Tube Bag",
"price": "80.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "60.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}