if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "13495",
"name": "Trek TAB Belt Tensioner",
"price": "140.0",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31962",
"name": "Gates Drive Belt",
"price": "246.0",
"brand": "Gates",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11008",
"name": "Gates Center Track Belts",
"price": "185.0",
"brand": "Gates",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13496",
"name": "Trek TAB Belt",
"price": "159.0",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}