if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "12598",
"name": "Electra Bicycle Cover",
"price": "79.99",
"brand": "Electra",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}