if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37151",
"name": "Electra 27.5˝ Townie Go! 7D Rear Mudguard Stay",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41151",
"name": "Bontrager 34.9mm Telescoping Seatpost",
"price": "",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "42125",
"name": "Electra Cruiser 7D Step-Thru 24˝ Chainguard",
"price": "",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "45270",
"name": "Herrmans MR8 E-bike Front Light Top Mount For PCB Connector",
"price": "",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "62171",
"name": "Sinter Shimano G Type Endurance Disc Brake Pads",
"price": "",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}