if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "14110", "name": "Trek Fuel EX 2017-2019 Aluminum Chainstay", "price": "474.99", "brand": "Trek", "category": "Bike rear suspension", "variant": "black_blue", "list": "CATEGORY", "position": 1 } , { "id": "34732", "name": "Trek 2021 Powerfly FS Main Pivot Hardware Kit", "price": "73.98", "brand": "Trek", "category": "Bike rear suspension", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "29993", "name": "Juego de Hardware Trasero de Puntal Trek Supercaliber 29", "price": "27.99", "brand": "Trek", "category": "Bike rear suspension", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "30462", "name": "Tuerca de tijera superior trasera Trek 2014-2017 Mino Link", "price": "6.99", "brand": "Trek", "category": "Bike rear suspension", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "33107", "name": "DropLock Remote de Bontrager", "price": "167.99", "brand": "Bontrager", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "36075", "name": "RockShox Deluxe Thru Shaft 230 x 57.5mm Shock", "price": "512.49", "brand": "RockShox", "category": "Bike rear suspension", "variant": "black", "list": "CATEGORY", "position": 6 } ] } }); } else { console.log("dataLayer"); }