if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "29038",
"name": "Unior Freewheel Remover Shimano",
"price": "15.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14716",
"name": "Unior T-Handle Torx Wrenches",
"price": "13.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44296",
"name": "Basic Synguard Nitrile Gloves",
"price": "13.99",
"brand": "Basic",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14133",
"name": "Unior Flat Blade Screwdriver",
"price": "11.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14195",
"name": "Unior Philips Screwdriver",
"price": "9.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14268",
"name": "Unior T-Handle Ball End Hex Wrenches",
"price": "9.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14188",
"name": "Unior Replacement Chain Pin",
"price": "6.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}