if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41706",
"name": "Marlin+ 8",
"price": "4599.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41009",
"name": "Marlin+ 6",
"price": "3599.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1599.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "929.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "3399.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47829",
"name": "Procaliber C Frameset Gen 3",
"price": "2749.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "1299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37023",
"name": "Farley 9",
"price": "3349.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37019",
"name": "Farley 7",
"price": "2899.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "2149.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "2099.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40963",
"name": "Roscoe 6",
"price": "1449.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "1099.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35920",
"name": "1120 Frameset",
"price": "1499.99",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37982",
"name": "Marlin Gen 3 Frameset",
"price": "649.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37479",
"name": "Service Electric",
"price": "6349.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "4599.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "4029.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "2699.97",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "33239",
"name": "Service",
"price": "2149.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "33745",
"name": "Farley C Frameset",
"price": "3199.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}