if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44520",
"name": "Trek Aeolus RSL Bike Saddle",
"price": "550.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33462",
"name": "Bontrager Aeolus RSL Bike Saddle",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27093",
"name": "Bontrager Aeolus Pro Bike Saddle",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27094",
"name": "Bontrager Aeolus Elite Bike Saddle",
"price": "170.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27101",
"name": "Bontrager Aeolus Comp Bike Saddle",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}