if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "28162",
"name": "Enduro Zero Ceramic Grade3 6803 Bearing",
"price": "124.99",
"brand": "Enduro",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35434",
"name": "Hyena and Hydrive Axle Nut/Washer Kit",
"price": "22.99",
"brand": "Hyena",
"category": "Bike hubs & hub parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22379",
"name": "Shimano Dynamo Wire Cap",
"price": "9.99",
"brand": "Shimano",
"category": "Bike hubs & hub parts",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}