if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47147",
"name": "Trek Adventure Frame Bag",
"price": "239.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure Triangle Bag",
"price": "149.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47358",
"name": "Trek Adventure Top Tube Bag",
"price": "89.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48444",
"name": "Trek Thumb Screws – Pack of 4",
"price": "17.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41673",
"name": "Trek Adventure Boss Full Frame Bag",
"price": "179.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35560",
"name": "Bontrager Adventure Saddle Bag",
"price": "289.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35559",
"name": "Bontrager Adventure Handlebar Bag",
"price": "249.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "219.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35555",
"name": "Bontrager Adventure Boss Frame Bag",
"price": "189.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25828",
"name": "Bontrager Adventure Top Tube Bag",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47332",
"name": "Rapha Bar Bag",
"price": "120.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}