if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "24516",
"name": "Fuel EX C Frameset",
"price": "62200.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}