if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}