Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44492",
"name": "Bontrager Aeolus Pro 37V Disc TLR Road Wheel",
"price": "1300.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "31548",
"name": "Bontrager Aeolus RSL 37 TLR Disc Road Wheel",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34502",
"name": "Bontrager Aeolus RSL 75 TLR Disc Road Wheel",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34499",
"name": "Bontrager Aeolus Pro 51 TLR Disc Road Wheel",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}