if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47937",
"name": "Townie Go! 7D EQ Step-Over",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47938",
"name": "Townie Go! 7D EQ Step-Thru",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35273",
"name": "Townie Go! 7D Step-Thru",
"price": "1899.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35272",
"name": "Townie Go! 7D Step-Over",
"price": "1899.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}