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": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "130.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "purpledark_pinklight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56741",
"name": "Santini Lidl-Trek RSL Team Jersey",
"price": "250.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "56743",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "200.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "56745",
"name": "Santini Lidl-Trek Women's Replica Race Jersey",
"price": "200.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "56817",
"name": "Santini Lidl-Trek Replica Tech Tee",
"price": "90.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "56815",
"name": "Santini Trek Factory Racing Men’s Team Replica Cycling Jersey",
"price": "200.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}