The transom of my boat has numerous holes through it. I always use a silicone sealant and haven't had so much as a drop leak into my boat.
Most importantly, mount the transducer where you do most of your fishing from. If you're always up front then leave it on the trolling motor, the weeds are only seasonal.