Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "55.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "55.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "40.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Handlebar Tape Set",
"price": "35.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "30.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orangevisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}