if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "17408",
"name": "Kit de cadre Session Al 27,5",
"price": "1619.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24014",
"name": "Ensemble cadre-fourche Émonda SL",
"price": "1499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33744",
"name": "Kit cadre Farley AL",
"price": "1419.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23644",
"name": "Kit cadre Émonda ALR Disque",
"price": "1419.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26914",
"name": "Kit cadre 1120",
"price": "1319.99",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32692",
"name": "Kit cadre CHECKPOINT ALR",
"price": "1319.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35866",
"name": "Kit cadre Marlin Gen 2",
"price": "579.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}