if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44693",
"name": "e*Thirteen e*spec Race Carbon Crank for TQ",
"price": "900.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44931",
"name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch",
"price": "120.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41243",
"name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set",
"price": "53.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}