if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "38385",
"name": "Trek 2022 Checkpoint SLR Headset Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "10861",
"name": "Trek Kids' Dialed Pedal Set",
"price": "14.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "14859",
"name": "Trek Domane ALR IsoSpeed Cover Set",
"price": "29.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "64879",
"name": "Madone SLR 9 AXS 1x Gen 8",
"price": "12999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "44290",
"name": "Trek Waterloo Zip-Up Unisex Hoodie",
"price": "99.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "64.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "36293",
"name": "Trek Vintage Logo Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "37320",
"name": "Trek Go By Bike Unisex Hoodie",
"price": "24.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "32586",
"name": "Trek All-District Sweatshirt",
"price": "19.93",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "2199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "36121",
"name": "Trek 2022 Checkpoint SL 700c Rigid Fork",
"price": "422.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_reddark",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40264",
"name": "Trek Little Dipper Mips Bike Helmet",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "37990",
"name": "Trek Domane SL IsoSpeed Lower Headtube Cover",
"price": "32.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "37991",
"name": "Trek Domane SL IsoSpeed Cover",
"price": "32.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "714.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "32673",
"name": "Trek Verve+ 2 700C Rigid Fork",
"price": "71.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "pinkdark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "28337",
"name": "Trek Domane SL IsoSpeed Rear Cover",
"price": "32.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "41293",
"name": "Trek Domane SL 5 Downtube Storage Door",
"price": "71.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "30174",
"name": "Trek FX 3 Women's 700c Disc Rigid Fork",
"price": "229.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "pinkdark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "34145",
"name": "Trek Allant+ 9 Battery Cover",
"price": "131.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "34146",
"name": "Trek Allant+ 9.9 Battery Cover",
"price": "131.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "52248",
"name": "Trek Aeolus Elite Bike Saddle",
"price": "99.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "07269",
"name": "Trek Integrated BB90/95 FSA Bearing Kit",
"price": "57.99",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}