if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "160.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "115.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35408",
"name": "Bontrager Approved 25.4mm Handlebar Clamp Stem",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "80.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "42266",
"name": "Spanninga Cable Connector Set",
"price": "40.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}