if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34790",
"name": "Bontrager Flatline Mountain Bike Shoes",
"price": "169.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}