if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "8999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "7399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "6599.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3.",
"price": "5149.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36347",
"name": "Fuel EX 7 6e gén.",
"price": "2999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1899.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1499.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35021",
"name": "FX 3 disque 3e gén.",
"price": "799.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35003",
"name": "FX 2 disque 3e gén.",
"price": "649.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32732",
"name": "Verve 3 Lowstep disque 4e gén.",
"price": "649.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32734",
"name": "Verve 2 Lowstep disque 4e gén.",
"price": "599.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32735",
"name": "Verve 2 disque 4e gén.",
"price": "599.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34587",
"name": "Marlin 5 2e gén.",
"price": "579.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_teal",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step 3e gén.",
"price": "549.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35001",
"name": "FX 1 disque 3e gén.",
"price": "549.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32737",
"name": "Verve 1 disque 4e gén.",
"price": "429.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "32736",
"name": "Verve 1 Lowstep disque 4e gén.",
"price": "429.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35601",
"name": "Cruiser 3i Step-Thru",
"price": "669.93",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "redlight",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "16810",
"name": "Le Loft 7D Step-Thru",
"price": "649.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "16717",
"name": "Le Loft 7D Step-Over",
"price": "649.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35597",
"name": "Cruiser 1 Step-Thru",
"price": "509.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35578",
"name": "Cruiser 1 Step-Over",
"price": "509.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 22
}
]
}
});
} else {
console.log("dataLayer");
}