if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47341",
"name": "Rapha Lightweight Short Sleeve Cycling Baselayer",
"price": "85.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}