if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "10499.97",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}