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": "36097",
"name": "Trek Fetch+ 2 Rear Pannier Kit",
"price": "199.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36099",
"name": "Trek Fetch+ 2 Front Pannier and Rack Kit",
"price": "199.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40145",
"name": "Trek Fetch+ 2 Mudguard Set",
"price": "79.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}