if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "31874",
"name": "Trek Water Bottle Nutsert Plug",
"price": "5.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41872",
"name": "Trek M5x0.8 Water Bottle Cage Bolts",
"price": "5.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41559",
"name": "Trek Speed Concept SLR BTA 26oz Water Bottle Kit",
"price": "344.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41603",
"name": "Trek Speed Concept Round Bottle BTA Cage",
"price": "299.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38005",
"name": "Trek 2022 Speed Concept SLR Downtube 26oz Water Bottle",
"price": "66.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13852",
"name": "Bontrager Speed Concept Water Bottle Cage Hardware",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41930",
"name": "Trek Speed Concept BTA Mounting Cage",
"price": "29.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "38006",
"name": "Trek 2022 Speed Concept SLR Downtube Water Bottle Cage",
"price": "25.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45041",
"name": "Trek Bottles of Australia 26oz Water Bottle",
"price": "17.99",
"brand": "Bottles of Australia",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}