if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "37316",
"name": "Trek 80s Fade Unisex Hoodie",
"price": "24.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37317",
"name": "Trek Diamond Patch Hoodie",
"price": "24.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "32299",
"name": "Trek Control Freak Headtube Cable Guide",
"price": "17.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32294",
"name": "Trek Control Freak Downtube Cable Guide",
"price": "4.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "39445",
"name": "Trek Dual Sport+ 700c Rigid Fork",
"price": "149.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37738",
"name": "Trek Dual Sport+ 700c Rigid Fork",
"price": "147.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "13910",
"name": "Bontrager Speed Concept Base UCI Legal Aero Handlebar",
"price": "613.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "14414",
"name": "Trek Zektor Aluminum 700c Rigid Fork",
"price": "149.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "12286",
"name": "Trek Speed Concept Large Gen 2 Front Brake Cover",
"price": "145.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "36982",
"name": "Trek Speed Concept Small Gen 2 Front Brake Cover",
"price": "145.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "36981",
"name": "Trek Speed Concept X-Large Gen 2 Front Brake Cover",
"price": "109.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "22311",
"name": "Trek Speed Concept UCI Legal Rear Brake Cover",
"price": "109.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "38035",
"name": "Trek Speed Concept Handlebar 60mm Base Tower",
"price": "38.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "38036",
"name": "Trek Speed Concept 75mm Handlebar Base Tower",
"price": "38.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "37.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41237",
"name": "Trek UV Sunstop Cycling Skull Cap",
"price": "26.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "24295",
"name": "Trek ABP Race Derailleur Hanger",
"price": "24.99",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "38034",
"name": "Trek Speed Concept 30mm Handlebar Base Tower",
"price": "21.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "38033",
"name": "Trek Speed Concept 15mm Handlebar Base Tower",
"price": "21.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "38037",
"name": "Trek Speed Concept 45mm Handlebar Base Tower",
"price": "21.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "20.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "45143",
"name": "Trek Line Pro Pedal Pin Kit",
"price": "17.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "37341",
"name": "Trek Holiday Pom Beanie",
"price": "15.93",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}