if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "12893",
"name": "Bontrager AT-550 Disc 27.5" MTB Wheel",
"price": "287.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22738",
"name": "Bontrager MIK Utility Trunk Bag",
"price": "239.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24464",
"name": "Bontrager City Shopper Pannier",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24465",
"name": "Bontrager City Boot Bag",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "08058",
"name": "Bontrager LT3 Hybrid Tyre",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22250",
"name": "Bontrager Blendr RIDEtime Mount",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26872",
"name": "Trek Madone SLR Rear Reflector and Light Bracket",
"price": "11.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}