if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "33380",
"name": "Trek Domane+ Front Bike Light Assembly",
"price": "396.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23634",
"name": "Bontrager Transmitr Micro Wireless Remote",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25371",
"name": "Bontrager USB Fast Charge Cable",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21756",
"name": "Supernova Light Parts",
"price": "100.0",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32174",
"name": "Supernova M99 Y Cable Magura MTe Rear Bike Light Part",
"price": "90.0",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "29079",
"name": "Supernova M99 to Bontrager Elite Light Faceplate Bolt",
"price": "9.0",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}