The spark source is also the sensor. It uses a technique called flame rectification. The flame is actually conductive, but acts like a diode. With a small alternating current placed across the 'circuit', you can sense when the flame makes the connection.
I had a boiler converted to spark...