if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "42257",
"name": "Trek RSL Bike Saddle",
"price": "599.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34502",
"name": "Bontrager Aeolus RSL 75 TLR Disc Road Wheel",
"price": "2199.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34501",
"name": "Bontrager Aeolus RSL 62 TLR Disc Road Wheel",
"price": "2199.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31548",
"name": "Bontrager Aeolus RSL 37 TLR Disc Road Wheel",
"price": "2199.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34500",
"name": "Bontrager Aeolus RSL 51 TLR Disc Road Wheel",
"price": "2199.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "699.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34937",
"name": "Bontrager RSL Blendr Stem",
"price": "549.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34646",
"name": "Bontrager RSL 31.6 Seatpost",
"price": "379.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34728",
"name": "Bontrager RSL 27.2 Seatpost",
"price": "379.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}