if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "138.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26980",
"name": "Bontrager Wheelsystem Alloy Spoke Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "30046",
"name": "Alpina Locking Hex Head Brass Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "45160",
"name": "Trek Fetch+ 2 Family Pack Seat Base Mount Bracket",
"price": "28.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "170.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}