if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "PLN", "impressions": [ { "id": "41741", "name": "Ochraniacze rowerowe na buty Trek Softshell", "price": "215.0", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "49977", "name": "Zestaw błotników Trek Powerfly+", "price": "199.0", "brand": "Trek", "category": "Bike fenders & accessories", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "47358", "name": "Torba na rurę górną Trek Adventure", "price": "189.0", "brand": "Trek", "category": "Bike bags", "variant": "black_greylight", "list": "CATEGORY", "position": 3 } , { "id": "51462", "name": "Siodełko rowerowe Verse Trail Trek", "price": "129.0", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "46167", "name": "Aerodynamiczny bidon Trek RSL", "price": "99.0", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "bluedark_red", "list": "CATEGORY", "position": 5 } , { "id": "47140", "name": "Koszyk na bidon Trek Elite z materiałów z recyklingu", "price": "59.0", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "gold", "list": "CATEGORY", "position": 6 } , { "id": "37801", "name": "Adapter Wahoo dla Bontrager Pro Blendr", "price": "27.0", "brand": "Bontrager", "category": "Bike computers & GPS", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "25874", "name": "Zacisk sztycy podsiodłowej Trek Kids", "price": "17.4", "brand": "Trek", "category": "Bike seatposts & accessories", "variant": "greylight", "list": "CATEGORY", "position": 8 } , { "id": "21880", "name": "Émonda SLR 9", "price": "47699.0", "brand": "Trek", "category": "Performance road bikes", "variant": "yellow_black", "list": "CATEGORY", "position": 9 } , { "id": "28518", "name": "Supercaliber 9.9 Gen 1", "price": "45699.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "red_white", "list": "CATEGORY", "position": 10 } , { "id": "41651", "name": "Top Fuel 9.9 XX AXS T-Type Gen 3", "price": "44699.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "orange", "list": "CATEGORY", "position": 11 } , { "id": "36707", "name": "Domane+ SLR 7", "price": "41579.0", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 12 } , { "id": "35577", "name": "Speed Concept SLR 7", "price": "40199.0", "brand": "Trek", "category": "Triathlon bikes", "variant": "reddark_black", "list": "CATEGORY", "position": 13 } , { "id": "37059", "name": "Domane SLR 7 Gen 4", "price": "37899.0", "brand": "Trek", "category": "Performance road bikes", "variant": "red_blue", "list": "CATEGORY", "position": 14 } , { "id": "37039", "name": "Supercaliber 9.8 Gen 1", "price": "37499.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "red", "list": "CATEGORY", "position": 15 } , { "id": "37344", "name": "Domane SLR 6 Gen 4", "price": "35999.0", "brand": "Trek", "category": "Performance road bikes", "variant": "red_blue", "list": "CATEGORY", "position": 16 } , { "id": "23169", "name": "Procaliber 9.9 SL", "price": "35299.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "36703", "name": "Domane+ SLR 6 Pro", "price": "34109.0", "brand": "Trek", "category": "Electric road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 18 } , { "id": "41720", "name": "Supercaliber SLR 9.8 GX AXS Gen 2", "price": "33999.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "reddark", "list": "CATEGORY", "position": 19 } , { "id": "36956", "name": "Fuel EX 9.9 XX1 AXS Gen 6", "price": "33829.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "blue", "list": "CATEGORY", "position": 20 } , { "id": "36153", "name": "Domane SL 7 Gen 4", "price": "33799.0", "brand": "Trek", "category": "Performance road bikes", "variant": "grey", "list": "CATEGORY", "position": 21 } , { "id": "47303", "name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2", "price": "33499.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "black_grey", "list": "CATEGORY", "position": 22 } , { "id": "41721", "name": "Supercaliber SLR 9.8 XT Gen 2", "price": "31499.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "grey", "list": "CATEGORY", "position": 23 } , { "id": "46147", "name": "Top Fuel 9.8 GX AXS Gen 4", "price": "31499.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }