if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35866",
"name": "Kit cadre Marlin Gen 2",
"price": "579.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}