if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "34650",
"name": "Trek Circuit LTD Cycling Jersey",
"price": "130.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "56741",
"name": "Santini Lidl-Trek RSL Team Jersey",
"price": "250.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56743",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "200.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "56817",
"name": "Santini Lidl-Trek Replica Tech Tee",
"price": "90.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}