if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36732",
"name": "Slash 9.8 XT Gen 5",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36347",
"name": "Fuel EX 7 Gen 6",
"price": "3499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35193",
"name": "Fuel EX 9.8 GX AXS Gen 5",
"price": "6299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35672",
"name": "Rail 9.8 XT Gen 3",
"price": "5999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "4299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "5799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "5799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41652",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "14999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "13499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44506",
"name": "Domane+ SLR 9 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36373",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "12999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "11849.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "11699.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41656",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "10399.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "10299.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "9599.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37114",
"name": "Fetch+ 4",
"price": "9499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "9499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36367",
"name": "Fuel EXe 9.8 GX AXS",
"price": "8999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36956",
"name": "Fuel EX 9.9 XX1 AXS Gen 6",
"price": "8899.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35676",
"name": "Rail 9.9 XTR Gen 3",
"price": "8499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type Gen 6",
"price": "8399.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "8399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "35218",
"name": "Slash 9.9 XX1 AXS Gen 5",
"price": "7999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}