if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36098",
"name": "Trek Fetch+ 2 Family Pack Kit",
"price": "499.99",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "76.49",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35885",
"name": "Bontrager Left Side Load Recycled Water Bottle Cage",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35886",
"name": "Bontrager Right Side Load Recycled Water Bottle Cage",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36097",
"name": "Trek Fetch+ 2 Rear Pannier Kit",
"price": "199.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36099",
"name": "Trek Fetch+ 2 Front Pannier and Rack Kit",
"price": "199.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40145",
"name": "Trek Fetch+ 2 Mudguard Set",
"price": "79.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24663",
"name": "Bontrager Blendr Saddle Accessory Mount",
"price": "8.49",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}