if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "14188",
"name": "Unior Replacement Chain Pin",
"price": "6.4",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41897",
"name": "Trek Spoke Cutter Die Set",
"price": "949.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41898",
"name": "Trek Spoke Cutter Blade Assembly",
"price": "329.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25013",
"name": "Bontrager Pro Cable Cutter",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "00897",
"name": "Wrench Force Nut Driver Spoke Wrench 5.5mm",
"price": "59.99",
"brand": "Wrench Force",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}