if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35277",
"name": "Townie Go! 7D Step-Thru",
"price": "1999.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}