if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37019",
"name": "Farley 7",
"price": "2999.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1099.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34307",
"name": "Trek 2021 Madone SL 700c Rigid Forks",
"price": "449.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "30369",
"name": "Trek 2020 Madone SL 700c Rigid Forks",
"price": "449.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "46229",
"name": "Trek 2024 Emonda SL 700c Rigid Fork",
"price": "384.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "34006",
"name": "Trek 2021 Domane SL 700c Rigid Forks",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_white",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "24694",
"name": "Trek 2019 Domane SL 700c Disc Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "26116",
"name": "Trek Émonda SL 700c Disc Rigid Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "26316",
"name": "Trek 2017 Domane SL 6 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_reddark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "26366",
"name": "Trek 2018 Domane SL Women's 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greenlight",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "26531",
"name": "Trek Emonda SL Neutral 700c Rigid Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "27464",
"name": "Trek Domane SL 5 700c Rigid Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greenvisibility",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "33266",
"name": "Trek 2021 Emonda SL 700c Rigid Forks",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Forks",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "22465",
"name": "Trek 2018 Émonda SL 6 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "26319",
"name": "Trek 2017 Domane SL 8 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "bluedark_greenlight",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "26364",
"name": "Trek 2018 Domane SL 700c Disc Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41289",
"name": "Trek Domane SL 5 700c Rigid Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "21971",
"name": "Trek 2018 Domane SL 5 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_red",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "22090",
"name": "Trek 2018 Émonda SL 5 700c Fork",
"price": "349.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "34009",
"name": "Trek 2021 Domane SL Downtube Storage Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "35917",
"name": "Trek 2022 Domane SL Downtube Storage Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "41293",
"name": "Trek Domane SL 5 Downtube Storage Door",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "33267",
"name": "Trek 2021 Emonda SL Painted Headset Cover",
"price": "49.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}