if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tyre",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Pirelli P Zero TLR RS Road Bike Tyre",
"price": "125.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tyre",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23611",
"name": "Bontrager GR2 Team Issue Gravel Tyre",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24706",
"name": "Bontrager GR1 Team Issue Gravel Tyre",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "105.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_brown",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}