if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}