if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "70.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "55.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}