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": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "4249.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "3729.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33003",
"name": "Townie Go! 5i EQ Step-Over",
"price": "3729.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47937",
"name": "Townie Go! 7D EQ cadre diamant",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47938",
"name": "Townie Go! 7D EQ cadre ouvert",
"price": "2429.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35273",
"name": "Townie Go! 7D cadre ouvert",
"price": "1899.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35272",
"name": "Townie Go! 7D cadre diamant",
"price": "1899.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}