if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "36063",
"name": "Trek Circuit Rain Cycling Jacket",
"price": "240.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36061",
"name": "Trek Circuit Softshell Cycling Jacket",
"price": "220.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46736",
"name": "Santini Lidl-Trek Team Replica Cycling Vest",
"price": "190.0",
"brand": "Santini",
"category": "Men's cycling jackets & vests",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36066",
"name": "Trek Circuit Windshell Cycling Jacket",
"price": "190.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "130.0",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}