if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}