if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47273",
"name": "Ponto Go!",
"price": "2999.97",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36414",
"name": "Loft Go! 7D EQ Step-Over",
"price": "2209.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36415",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "2209.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "4019.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}