if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "42257",
"name": "Trek RSL Bike Saddle",
"price": "550.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35553",
"name": "Bontrager Verse Short Pro Bike Saddle",
"price": "350.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35552",
"name": "Bontrager Verse Short Elite Bike Saddle",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35554",
"name": "Bontrager Verse Short Trail Elite Saddle",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35551",
"name": "Bontrager Verse Short Comp Bike Saddle",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44984",
"name": "Trek Verse Short Comp Bike Saddle",
"price": "120.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}