if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47325",
"name": "Rapha Cotton Tee",
"price": "83.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}