if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "41182",
"name": "Trek Speed Concept Steer Stop Mounting Bolt",
"price": "6.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38056",
"name": "Trek 2022 Speed Concept SLR IsoSpeed Hardware",
"price": "43.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "21.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38023",
"name": "Trek 2022 Speed Concept SLR Seatpost Wedge Cover",
"price": "70.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14986",
"name": "Bontrager/Electra Training Wheel Hardware",
"price": "12.0",
"brand": "Trek-Electra",
"category": "Bike training wheels",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40559",
"name": "Rockshox Pike Select+ 140mm Air Spring Cartridge",
"price": "144.0",
"brand": "RockShox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23935",
"name": "Bontrager Kids' Midfat MTB Tyres",
"price": "80.0",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44933",
"name": "e*Thirteen e*Spec 55mm Chainline Chainring for Bosch",
"price": "60.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44822",
"name": "Spanninga Pimento RR 02 Rear Light Reflector",
"price": "13.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}