if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "30190",
"name": "Domane SL Frameset",
"price": "1109.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "57826",
"name": "Check-OUT SL Frameset",
"price": "4999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frameset",
"price": "2899.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frameset",
"price": "2574.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28103",
"name": "Émonda SLR Frameset",
"price": "2199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29864",
"name": "Émonda SLR RSL Frameset",
"price": "2199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35696",
"name": "Boone Disc Frameset",
"price": "1739.93",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "2599.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33101",
"name": "Domane SLR Disc Frameset Gen 3",
"price": "2139.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "2099.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}