if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "14749.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "13749.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS 7e gén.",
"price": "13749.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "13499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}