if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37018",
"name": "Farley 5",
"price": "1699.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47877",
"name": "Session 9 X01",
"price": "7499.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37023",
"name": "Farley 9",
"price": "2799.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37019",
"name": "Farley 7",
"price": "2299.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40963",
"name": "Roscoe 6",
"price": "1199.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37959",
"name": "Session AL Frameset",
"price": "3099.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1599.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "7199.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "3699.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35214",
"name": "Remedy 27.5 C Frameset",
"price": "2999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33745",
"name": "Farley C Frameset",
"price": "2599.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "38642",
"name": "Remedy AL Frameset",
"price": "2399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40735",
"name": "Farley AL Frameset",
"price": "1499.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35870",
"name": "Roscoe Frameset",
"price": "749.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "5499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "4749.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "3299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37043",
"name": "Powerfly 4 Gen 4",
"price": "2499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "1999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "22049",
"name": "Session C 27.5 Frameset",
"price": "4399.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "33369",
"name": "Remedy 27.5 Al Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}