if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "28576",
"name": "Electra Vinyl Ergo Bike Saddle",
"price": "162.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "65.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "65.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}