if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "48049",
"name": "Trek Aero RSL Road Integrated Handlebar/Stem",
"price": "1000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "570.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48102",
"name": "Trek Aero RSL Barstem Bearing Top Cover",
"price": "50.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48104",
"name": "Trek Aero RSL Barstem Top Cover",
"price": "14.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48103",
"name": "Trek Aero RSL Barstem Headset Spacers",
"price": "8.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34815",
"name": "Trek Aeolus BarStem Routing Cover",
"price": "113.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "9.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44564",
"name": "Bontrager Aeolus RSL VR-C Handlebar/Stem",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}