if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoe", "price": "499.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 1 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoe", "price": "449.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "48435", "name": "Trek Velocis Road Cycling Shoe", "price": "249.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "45274", "name": "Trek Circuit Road Cycling Shoe", "price": "139.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "45275", "name": "Trek Circuit Wide Road Cycling Shoe", "price": "139.99", "brand": "Trek", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "41743", "name": "Trek Circuit Waterproof Winter Cycling Glove", "price": "64.99", "brand": "Trek", "category": "Men's cycling gloves", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "36024", "name": "Trek Solstice Mips Bike Helmet", "price": "52.93", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 7 } , { "id": "41744", "name": "Trek Circuit Windshell Cycling Glove", "price": "49.99", "brand": "Trek", "category": "Men's cycling gloves", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "41745", "name": "Trek Circuit Thermal Cycling Glove", "price": "34.99", "brand": "Trek", "category": "Men's cycling gloves", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "36952", "name": "Trek Starvos WaveCel Cycling Helmet", "price": "104.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 10 } , { "id": "34133", "name": "Trek Velocis Road Cycling Shoe", "price": "249.99", "brand": "Trek", "category": "Road bike shoes", "variant": "red", "list": "CATEGORY", "position": 11 } , { "id": "40249", "name": "Trek Circuit WaveCel Helmet", "price": "159.99", "brand": "Trek", "category": "Bike helmets", "variant": "greenvisibility_black", "list": "CATEGORY", "position": 12 } , { "id": "42198", "name": "Trek Charge WaveCel Commuter Helmet", "price": "159.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 13 } , { "id": "36987", "name": "Trek Starvos WaveCel Round Fit Bike Helmet", "price": "104.99", "brand": "Trek", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 14 } , { "id": "41741", "name": "Trek Softshell Cycling Shoe Cover", "price": "74.99", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "41742", "name": "Trek Waterproof Cycling Shoe Cover", "price": "74.99", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "41740", "name": "Trek Windshell Cycling Toe Cover", "price": "29.99", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "41734", "name": "Trek Thermal Cycling Leg Warmer", "price": "54.99", "brand": "Trek", "category": "Cycling arm & leg warmers", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "41733", "name": "Trek Thermal Cycling Knee Warmer", "price": "49.99", "brand": "Trek", "category": "Cycling arm & leg warmers", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "41731", "name": "Trek Thermal Cycling Arm Warmer", "price": "39.99", "brand": "Trek", "category": "Cycling arm & leg warmers", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "41738", "name": "Trek Windshell Cycling Balaclava", "price": "39.99", "brand": "Trek", "category": "Cycling caps & headwear", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "41736", "name": "Trek Windshell Cycling Skull Cap", "price": "34.99", "brand": "Trek", "category": "Cycling caps & headwear", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "41737", "name": "Trek Windshell Cycling Cap", "price": "34.99", "brand": "Trek", "category": "Cycling caps & headwear", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "41739", "name": "Trek Thermal Cycling Neck Gaiter", "price": "29.99", "brand": "Trek", "category": "Cycling caps & headwear", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }