if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "24074",
"name": "Shimano Tiagra CN-4601 10-Speed Chain",
"price": "35.99",
"brand": "Shimano",
"category": "Bike chains",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "35.99",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "31.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "32927",
"name": "VP Components A42E 1.125˝ Zero Stack Headset",
"price": "25.99",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "47138",
"name": "Bontrager Rotary Head Seatpost 7 x 10 mm Saddle Clamp Ears",
"price": "23.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}