if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "32824",
"name": "Trek Madone SLR/SL Repair Stand Adapter",
"price": "46.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "07156",
"name": "Bontrager Universal Repair Stand Adapter",
"price": "88.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35507",
"name": "Trek Domane MKIII Repair Stand Adapter",
"price": "48.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26283",
"name": "Bontrager TTX/Speed Concept (Gen2) Repair Stand Adapter",
"price": "37.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}