if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex Cycling Glove",
"price": "80.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"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": "CATEGORY",
"position": 2
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "60.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "50.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46739",
"name": "Santini Lidl-Trek Team Unisex Cycling Gloves",
"price": "60.0",
"brand": "Santini",
"category": "Men's cycling gloves",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}