OK, so no air. I assume you're keeping the oxygen produced separate. I may be wrong about that, some commercial electrolysis rigs use concentric electrodes, and the gasses end up mixing. Shudder. You can compensate for the water vapor, that's a look-up table, and some basic high school chemistry problem. You can scrub other gasses out using a reaction tube: for oxygen, a tube full of oxidizable compound will scrub the gas. For that matter, a drying tube would take care of water vapor. But sampling the gas and analyzing by GC would be simplest.