if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "18999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "15299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "15299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "14299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "17999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "15499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "13799.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}