if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "38015",
"name": "Trek Bottles of Australia 19oz Water Bottle",
"price": "15.99",
"brand": "Bottles of Australia",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "28929",
"name": "FSA 1.5˝ Lower Headset Bearing",
"price": "41.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "28930",
"name": "FSA 1.5˝ Lower Headset Crown Race",
"price": "22.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "26035",
"name": "Trek M3 x 0.5 Rivnut Setting Tool",
"price": "65.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34983",
"name": "Trek Rocker Pivot Bolt M10 x 1.5",
"price": "13.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "blue_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "33616",
"name": "Bontrager DT240 26 x 0.5 mm Shim Ring",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41879",
"name": "Trek Angle-Adjust 1.0 1-Degree Headset Upper Cups",
"price": "77.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44961",
"name": "Trek Low Profile Conversion Crown Race 1-1/8˝ to 1.5˝",
"price": "3.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "31750",
"name": "Trek Road M3 x 0.5 x 7 mm Countersunk Head Bolt",
"price": "6.99",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}