if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41354",
"name": "Émonda SL 7",
"price": "7499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41352",
"name": "Émonda SL 6",
"price": "4999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32688",
"name": "Kit cadre Émonda SL Disc",
"price": "2799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35029",
"name": "Émonda SL 6 AXS",
"price": "5399.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}