if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "3049.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1239.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "1059.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "3999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2629.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "2249.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "8149.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "3499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2629.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "2249.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "1499.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6899.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35855",
"name": "Dual Sport+ 2 Stagger",
"price": "2199.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35854",
"name": "Dual Sport+ 2",
"price": "2199.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "799.93",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "699.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}