if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "40646",
"name": "Electra Triangle Frame Bag",
"price": "69.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33768",
"name": "Electra Reflective Charcoal Phone Bag",
"price": "69.99",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33612",
"name": "Electra Leopard Handlebar Bag with Lid",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35894",
"name": "Electra Gnome Handlebar Bag",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35895",
"name": "Electra Tutti Frutti Handlebar Bag",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33611",
"name": "Electra Washi Handlebar Bag with Lid",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}