if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "41410", "name": "Trek Line Pro Flat Pedal Set", "price": "99.99", "brand": "Trek", "category": "Bike pedals", "variant": "orange", "list": "CATEGORY", "position": 1 } , { "id": "41407", "name": "Trek Line Elite Clipless Pedal Set", "price": "99.93", "brand": "Trek", "category": "Bike pedals", "variant": "purpledark", "list": "CATEGORY", "position": 2 } , { "id": "41409", "name": "Trek Line Elite Flat Pedal Set", "price": "54.99", "brand": "Trek", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 3 } , { "id": "44947", "name": "Trek Enduro Front Fender", "price": "14.99", "brand": "Trek", "category": "Bike fenders & accessories", "variant": "orange", "list": "CATEGORY", "position": 4 } , { "id": "14798", "name": "Bontrager Rapid Pack", "price": "64.99", "brand": "Bontrager", "category": "Bike bags", "variant": "greendark", "list": "CATEGORY", "position": 5 } , { "id": "41444", "name": "Trek Ion Pro RT Front Bike Light", "price": "139.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "45252", "name": "Garmin Edge 540 GPS Computer", "price": "349.99", "brand": "Garmin", "category": "Bike computers & GPS", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "47144", "name": "Trek Left Side Load Recycled Water Bottle Cage", "price": "25.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "gold", "list": "CATEGORY", "position": 8 } , { "id": "47143", "name": "Trek Right Side Load Recycled Water Bottle Cage", "price": "25.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "gold", "list": "CATEGORY", "position": 9 } , { "id": "44488", "name": "Bontrager Montrose RSL XT TLR MTB Tire", "price": "69.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "44490", "name": "Bontrager Gunnison RSL XT TLR MTB Tire", "price": "69.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "44576", "name": "Bontrager Brevard Pro XR TLR MTB Tire", "price": "49.99", "brand": "Bontrager", "category": "Bike hubs & hub parts", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "37181", "name": "Bontrager Kovee RSL 30 TLR Boost 29 MTB Wheel", "price": "1299.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "29087", "name": "Bontrager Line Pro 30 TLR Boost 29 MTB Wheel", "price": "679.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "45108", "name": "Trek Blaze WaveCel Mountain Bike Helmet", "price": "249.99", "brand": "Trek", "category": "Bike helmets", "variant": "grey_bluedark", "list": "CATEGORY", "position": 15 } , { "id": "45105", "name": "Trek Rally WaveCel Mountain Bike Helmet", "price": "159.99", "brand": "Trek", "category": "Bike helmets", "variant": "tan_black", "list": "CATEGORY", "position": 16 } , { "id": "34591", "name": "Bontrager Circuit WaveCel Road Bike Helmet", "price": "119.99", "brand": "Bontrager", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 17 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "259.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "149.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 19 } , { "id": "34790", "name": "Bontrager Flatline Mountain Bike Shoe", "price": "109.97", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "greendark_black", "list": "CATEGORY", "position": 20 } , { "id": "33435", "name": "Kuat NV 2.0 2-Bike 2˝ Hitch Rack", "price": "898.0", "brand": "Kuat", "category": "Bike car racks", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "24153", "name": "Bontrager Line Pro Carbon 35 MTB Handlebar", "price": "179.99", "brand": "Bontrager", "category": "Bike handlebars", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "44532", "name": "Fox Racing Launch Elite Knee Guard", "price": "164.95", "brand": "Fox Racing", "category": "Protective gear", "variant": "black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }