if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46164",
"name": "Domane+ SLR 6",
"price": "6999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"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 Stagger 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": "40819",
"name": "FX 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40812",
"name": "Verve 3 Lowstep Gen 5",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40816",
"name": "FX 2 Stagger Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep Gen 5",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "739.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "48043",
"name": "Supercaliber SLR 9.9 Flight Attendant Gen 2",
"price": "14499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47286",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "13999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "13799.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "13499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "12999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "12699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}