if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35855",
"name": "Dual Sport+ 2 Stagger",
"price": "1749.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "649.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30265",
"name": "Allant+ 8S",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30266",
"name": "Allant+ 8S Stagger",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "499.97",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40883",
"name": "Allant+ 7S Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40884",
"name": "Allant+ 7S Mid-step Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40892",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40891",
"name": "Allant+ 7 Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2899.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "2399.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "2299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"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": "40815",
"name": "FX 2 Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2099.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37079",
"name": "Verve+ 3 Gen 2",
"price": "2599.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36414",
"name": "Loft Go! 7D EQ Step-Over",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}