if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44520",
"name": "Trek Aeolus RSL Bike Saddle",
"price": "599.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27093",
"name": "Bontrager Aeolus Pro Bike Saddle",
"price": "399.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27094",
"name": "Bontrager Aeolus Elite Bike Saddle",
"price": "229.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27101",
"name": "Bontrager Aeolus Comp Bike Saddle",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}