if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "32742",
"name": "Trek Circuit Cycling Bib Shorts",
"price": "170.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32744",
"name": "Trek Circuit Cycling Shorts",
"price": "150.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56742",
"name": "Santini Lidl-Trek RSL Team Bib Shorts",
"price": "300.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "56744",
"name": "Santini Lidl-Trek Replica Race Bib Shorts",
"price": "230.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}