I've got a TackTick T070 Racemaster with an internal fluxgate sensor and mount it right on the mast. Since the mast is aluminum, there is no magnetic interference. You could probably safely mount the sensor on the bulkhead immediately aft of the mast.