if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44353",
"name": "Trek Farley 27.5˝ Rigid Fork",
"price": "439.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41734",
"name": "Trek Thermal Cycling Leg Warmer",
"price": "59.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "54.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Unisex Sweatshirt",
"price": "24.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32584",
"name": "Trek 1976 Sweatshirt",
"price": "19.93",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "33670",
"name": "Trek Domane+ HP Motor Cover",
"price": "87.99",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37098",
"name": "Trek Circuit Full Finger Twin Gel Unisex Cycling Glove",
"price": "29.93",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "22635",
"name": "Trek Verve+ 700c Rigid Fork",
"price": "99.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "44520",
"name": "Trek Aeolus RSL Bike Saddle",
"price": "324.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "47144",
"name": "Trek Left Side Load Recycled Water Bottle Cage",
"price": "25.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "45079",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "134.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "27026",
"name": "Trek Kids' Bolt-on 12˝ Wheel",
"price": "45.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "46418",
"name": "Domane+ ALR - 2022, 52cm",
"price": "2699.98",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "46419",
"name": "Domane+ ALR - 2022, 54cm",
"price": "2699.98",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "61269",
"name": "Domane+ ALR - 2022, 58cm",
"price": "2199.93",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "82202",
"name": "Domane+ ALR - 2022, 58cm",
"price": "2199.93",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "99.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "36849",
"name": "Trek ABP UDH Hardware Kit",
"price": "70.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "58503",
"name": "Trek Domane+ ALR HPR60 Motor Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "27636",
"name": "Trek Full Suspension ABP Convert Dropout Kit",
"price": "47.99",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "32278",
"name": "Trek Emonda ALR Bottom Bracket Cable Guide",
"price": "5.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "32739",
"name": "Trek Velocis Women's Cycling Bib Short",
"price": "79.93",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "36064",
"name": "Trek Circuit Women's Rain Cycling Jacket",
"price": "79.93",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "79.93",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}