if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36328",
"name": "Knog Oi Classic Small Bicycle Bell",
"price": "32.99",
"brand": "Knog",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36329",
"name": "Knog Oi Classic Large Bicycle Bell",
"price": "32.99",
"brand": "Knog",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}