if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35869",
"name": "Supercaliber Gen 1 Frameset",
"price": "5099.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}