if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "32564",
"name": "Émonda SL 7 Disc AXS",
"price": "9299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36978",
"name": "Émonda SL 7 AXS",
"price": "9299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32562",
"name": "Émonda SL 6 Disc Pro",
"price": "6399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "5599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "4999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32560",
"name": "Émonda SL 5 Disc",
"price": "4499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}