if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "32162",
"name": "Bontrager AW3 Hard-Case Lite Road Tyre",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}