if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}