if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47094",
"name": "Slash+ 9.7 SLX/XT",
"price": "5199.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3499.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40675",
"name": "Verve+ 4S Lowstep Gen 3",
"price": "3499.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48007",
"name": "FX+ 7S Midstep",
"price": "3499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40674",
"name": "Verve+ 4S Gen 3",
"price": "3499.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "57629",
"name": "Domane SL 5 Gen 4",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41550",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "4799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "57380",
"name": "Marlin+ 6",
"price": "3199.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37640",
"name": "Fetch+ 2",
"price": "2999.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37019",
"name": "Farley 7",
"price": "2999.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "2999.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40666",
"name": "Verve+ 3 Gen 3",
"price": "2999.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2699.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "58147",
"name": "Cruiser 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "58145",
"name": "Cruiser 1 Step-Thru",
"price": "449.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "49946",
"name": "Checkpoint ALR 5 Gen 3",
"price": "2299.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bluelight_teal",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "49669",
"name": "FX+ 1S Midstep",
"price": "2199.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "56162",
"name": "FX+ 1 Midstep",
"price": "2199.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "49668",
"name": "FX+ 1S",
"price": "2199.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "56161",
"name": "FX+ 1",
"price": "2199.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "2199.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41476",
"name": "Fuel EXe 5",
"price": "3599.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "1999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "49973",
"name": "Checkpoint ALR 4 Gen 3",
"price": "1999.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "pink",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}