if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35316",
"name": "Slash 9.8 GX Gen 5",
"price": "3999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35032",
"name": "Rail 5 Gen 2",
"price": "3999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33575",
"name": "Slash 9.8 GX Gen 5",
"price": "3799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36347",
"name": "Fuel EX 7 Gen 6",
"price": "3499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37080",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "3399.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30918",
"name": "Allant+ 7",
"price": "3299.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36730",
"name": "Slash 7 Gen 5",
"price": "3299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "3199.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37043",
"name": "Powerfly 4 Gen 4",
"price": "3099.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "2999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30979",
"name": "Verve+ 3 Gen 2",
"price": "2999.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "30980",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "2999.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35169",
"name": "Checkpoint SL 5 Gen 2",
"price": "2899.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "2799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35814",
"name": "Checkpoint ALR 5 Driftless",
"price": "2499.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "33304",
"name": "1120",
"price": "2499.93",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "2499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35842",
"name": "FX+ 2",
"price": "2399.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35843",
"name": "FX+ 2 Stagger",
"price": "2399.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "28299",
"name": "Verve+ 2 Gen 2",
"price": "2399.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35855",
"name": "Dual Sport+ 2 Stagger",
"price": "2199.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35854",
"name": "Dual Sport+ 2",
"price": "2199.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "2099.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}