if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "38551",
"name": "Trek RCS Pro Blendr Stem",
"price": "200.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34937",
"name": "Bontrager RSL Blendr Stem",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23234",
"name": "Bontrager Pro Blendr Stem",
"price": "190.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31243",
"name": "Bontrager Adjustable Blendr 220mm Quill Stem",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "570.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}