if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44490",
"name": "Bontrager Gunnison RSL XT TLR MTB Tyre",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44488",
"name": "Bontrager Montrose RSL XT TLR MTB Tyre",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44588",
"name": "Bontrager Brevard RSL SE TLR MTB Tyre",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44752",
"name": "Bontrager Vallnord RSL XR TLR MTB Tyre",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44575",
"name": "Bontrager Sainte-Anne Pro XR TLR MTB Tyre",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27917",
"name": "Bontrager XR3 Team Issue TLR MTB Tyre",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "11640",
"name": "Bontrager XR3 Team Issue TLR Legacy Tread MTB Tyre",
"price": "70.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "11866",
"name": "Bontrager XR2 Team Issue TLR MTB Tyre",
"price": "70.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}