if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "80.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "70.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "60.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "60.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "50.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "40.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orangevisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}