if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47877",
"name": "Session 9 X01",
"price": "9499.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "8149.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37023",
"name": "Farley 9",
"price": "3349.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37019",
"name": "Farley 7",
"price": "2899.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "2099.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40963",
"name": "Roscoe 6",
"price": "1449.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "9199.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "4599.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35214",
"name": "Remedy 27.5 C Frameset",
"price": "4099.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37959",
"name": "Session AL Frameset",
"price": "3949.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33745",
"name": "Farley C Frameset",
"price": "3199.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "38642",
"name": "Remedy AL Frameset",
"price": "3049.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40735",
"name": "Farley AL Frameset",
"price": "1899.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35870",
"name": "Roscoe Frameset",
"price": "949.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6899.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "6149.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "4299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37043",
"name": "Powerfly 4 Gen 4",
"price": "3099.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "2499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "22049",
"name": "Session 27.5 Frameset",
"price": "5719.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "24516",
"name": "Fuel EX C Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}