if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "7599.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40883",
"name": "Allant+ 7S Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41706",
"name": "Marlin+ 8",
"price": "3499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40884",
"name": "Allant+ 7S Mid-step Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40892",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40891",
"name": "Allant+ 7 Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2899.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41009",
"name": "Marlin+ 6",
"price": "2699.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "2399.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "2299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40812",
"name": "Verve 3 Lowstep Gen 5",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "849.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep Gen 5",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "739.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "579.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41321",
"name": "Fuel EX 7 Gen 6",
"price": "3699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "10199.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}