if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44882",
"name": "e*Thirteen e*Spec Race Carbon Crankarm for Trek E-Caliber",
"price": "850.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41931",
"name": "FSA Comet 1x Crankset for Trek 2023 Farley 5",
"price": "450.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44989",
"name": "FSA Bosch Gen 3 Crank Arms",
"price": "100.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44821",
"name": "Prowheel 40T Square Crank with Bashguard",
"price": "80.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}