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": "Kit cadre Émonda SLR Disque",
"price": "5349.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28103",
"name": "Ensemble cadre-fourche Émonda SLR H2",
"price": "4799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29864",
"name": "Kit cadre Émonda SLR RSL H1",
"price": "3999.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}