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 à cadre triangulaire",
"price": "2209.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36415",
"name": "Loft Go! 7D EQ cadre ouvert",
"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");
}