if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "14501",
"name": "Electra XOXO Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "purple",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14508",
"name": "Electra Unicorn Domed Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14920",
"name": "Electra Doughnut Ringer Bike Bell",
"price": "24.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "brown_pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12653",
"name": "Electra Bugle Horn",
"price": "19.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33655",
"name": "Electra Leopard Domed Ringer Bike Bell",
"price": "19.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14564",
"name": "Electra Sticker Pack",
"price": "14.99",
"brand": "Electra",
"category": "Cycling gifts & fun stuff",
"variant": "white_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14477",
"name": "Electra Colour Ringer Bike Bell",
"price": "12.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33731",
"name": "Electra Honeycomb Small Strap-Mounted Handlebar Basket",
"price": "59.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}