if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "32733",
"name": "Verve 3 Disc Gen 4",
"price": "749.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35855",
"name": "Dual Sport+ 2 Stagger",
"price": "1749.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "649.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30265",
"name": "Allant+ 8S",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30266",
"name": "Allant+ 8S Stagger",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37640",
"name": "Fetch+ 2",
"price": "4499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "499.97",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35842",
"name": "FX+ 2",
"price": "1849.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40883",
"name": "Allant+ 7S Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40884",
"name": "Allant+ 7S Mid-step Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40892",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40891",
"name": "Allant+ 7 Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2899.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "2399.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "2299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40812",
"name": "Verve 3 Lowstep Gen 5",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "849.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep Gen 5",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}