if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "41409", "name": "Trek Line Elite Flat Pedal Set", "price": "54.99", "brand": "Trek", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 1 } , { "id": "44426", "name": "Trek Line Comp Flat Pedal Set", "price": "34.99", "brand": "Trek", "category": "Bike pedals", "variant": "orange", "list": "CATEGORY", "position": 2 } , { "id": "22372", "name": "Bontrager Commuter Pedal Set", "price": "72.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "47148", "name": "Trek Adventure Triangle Bag", "price": "84.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "34038", "name": "Trek Commuter Pro RT Flare RT Bike Light Set", "price": "189.97", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "44795", "name": "Trek CHRGtime Charging Station", "price": "124.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "41812", "name": "Trek BellBeats Digital Bike Bell and Speaker", "price": "99.99", "brand": "Trek", "category": "Bike bells & horns", "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": "47140", "name": "Trek Elite Recycled Water Bottle Cage", "price": "21.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "pinkvisibility", "list": "CATEGORY", "position": 10 } , { "id": "40249", "name": "Trek Circuit WaveCel Helmet", "price": "159.99", "brand": "Trek", "category": "Bike helmets", "variant": "greenvisibility_black", "list": "CATEGORY", "position": 11 } , { "id": "42198", "name": "Trek Charge WaveCel Commuter Helmet", "price": "159.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 12 } , { "id": "36024", "name": "Trek Solstice Mips Bike Helmet", "price": "52.93", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 13 } , { "id": "36064", "name": "Trek Circuit Women's Rain Cycling Jacket", "price": "99.99", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 14 } , { "id": "36063", "name": "Trek Circuit Rain Cycling Jacket", "price": "99.99", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 15 } , { "id": "44552", "name": "Trek Domane+ SLR Range Extender Cable Guide", "price": "36.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "46755", "name": "Trek Voda Bio 26oz Water Bottle", "price": "13.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "green", "list": "CATEGORY", "position": 17 } , { "id": "47372", "name": "Trek Range Extender Retention Strap Kit V2", "price": "10.99", "brand": "Trek", "category": "E-bike batteries & parts", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "37370", "name": "Trek Voda Flow 21oz Water Bottle", "price": "10.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "white_black", "list": "CATEGORY", "position": 19 } , { "id": "27228", "name": "Bontrager BackRack Deluxe MIK", "price": "57.99", "brand": "Bontrager", "category": "Bike racks", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "33988", "name": "ORTLIEB Back-Roller Classic Pannier Set", "price": "200.0", "brand": "ORTLIEB", "category": "Bike bags", "variant": "red", "list": "CATEGORY", "position": 21 } , { "id": "22738", "name": "Bontrager MIK Utility Trunk Bag", "price": "134.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "33172", "name": "Bontrager MIK Commuter Trunk Bag", "price": "114.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }