if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35559",
"name": "Bontrager Adventure Handlebar Bag",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24466",
"name": "Bontrager Kids Handlebar Bag",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25928",
"name": "Bontrager Interchange Handlebar Bracket 31.8 Clamps",
"price": "7.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"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
}
,
{
"id": "47332",
"name": "Rapha Bar Bag",
"price": "95.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}