if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "22738",
"name": "Bontrager MIK Utility Trunk Bag",
"price": "203.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24465",
"name": "Bontrager City Boot Bag",
"price": "144.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "31.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}