if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "11410",
"name": "Trek Pavement Crankset",
"price": "96.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10059",
"name": "Trek Dialed 24" Kids' Crankset",
"price": "90.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10058",
"name": "Trek 20" Kids Cranks",
"price": "80.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10057",
"name": "Trek 16" Kids Cranks",
"price": "72.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35529",
"name": "Trek Wheel Top Alloy Kids' Crankset",
"price": "65.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34883",
"name": "Trek Kids' Crankset",
"price": "62.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45448",
"name": "Trek Wheel Top 20" Crankset",
"price": "34.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26247",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set with Guard",
"price": "160.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26246",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set",
"price": "128.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28409",
"name": "Bosch Gen 2 & 4 (ISIS) Crank Arm Set",
"price": "128.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "12310",
"name": "Bosch Gen 3 (Mini ISIS) Crank Arm Set",
"price": "100.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36161",
"name": "Trek-Diamant Wheel Top DCRX1 Double Crankset",
"price": "85.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37658",
"name": "Prowheel PRO-D42P Crankset",
"price": "77.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "45291",
"name": "Prowheel Kids' 30T Crank",
"price": "54.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "50.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35297",
"name": "Trek-Diamant Wheel Top G4XD Triple Crank",
"price": "48.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}