if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "27194",
"name": "Bontrager Quantum Women's Full-finger Cycling Gloves",
"price": "700.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22827",
"name": "Bontrager Evoke Women’s Mountain Bike Gloves",
"price": "550.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}