if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40883",
"name": "Allant+ 7S Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40884",
"name": "Allant+ 7S Stagger Gen 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40892",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40891",
"name": "Allant+ 7 Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2899.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "2399.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "2299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40812",
"name": "Verve 3 Lowstep Gen 5",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40816",
"name": "FX 2 Stagger Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep Gen 5",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2099.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37079",
"name": "Verve+ 3 Gen 2",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "33003",
"name": "Townie Go! 5i EQ Step-Over",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37114",
"name": "Fetch+ 4",
"price": "7499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}