if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35960",
"name": "Electra Tutti Frutti Lifestyle Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35961",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34306",
"name": "Electra EBC 3000 Lifestyle Bike Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33612",
"name": "Electra Leopard Handlebar Bag with Lid",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35894",
"name": "Electra Gnome Handlebar Bag",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35895",
"name": "Electra Tutti Frutti Handlebar Bag",
"price": "39.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14514",
"name": "Electra Cool Cat Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34483",
"name": "Electra Gnome Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14508",
"name": "Electra Unicorn Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}