if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "41741",
"name": "Trek Softshell Cycling Shoe Covers",
"price": "120.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41742",
"name": "Trek Waterproof Cycling Shoe Covers",
"price": "120.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41740",
"name": "Trek Windshell Cycling Toe Cover",
"price": "50.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14773",
"name": "Bontrager S2 Softshell Cycling Shoe Cover",
"price": "150.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Cycling Shoe Cover",
"price": "120.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "40.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}