if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "60.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"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": "PRODUCTSEARCH",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}