if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "4499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35169",
"name": "Checkpoint SL 5 Gen 2",
"price": "3399.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "3399.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "5619.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "5349.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "4799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33101",
"name": "Domane SLR Disc Frameset Gen 3",
"price": "4619.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35073",
"name": "Domane SL Gen 3 Frameset",
"price": "2919.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}