if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "6599.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32772",
"name": "Émonda SLR Disc Frameset",
"price": "5349.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28103",
"name": "Émonda SLR Frameset",
"price": "4799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29864",
"name": "Émonda SLR RSL Frameset",
"price": "3999.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}