if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "13869",
"name": "Bontrager Hilo Pro Carbon Bike Saddle",
"price": "429.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13871",
"name": "Bontrager Hilo Comp Bike Saddle",
"price": "219.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}