if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "00977",
"name": "Bontrager Hollow 6 mm Water Bottle Cage",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "14.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47312",
"name": "Rapha Pro Team GORE-TEX Cycling Rain Jacket",
"price": "319.99",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "25595",
"name": "Electra Townie Original 7D EQ Ladies' Fender Set",
"price": "109.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 11-Speed Freehub Body",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "19.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}