Unfortunately anything cheap would not be accurate enough for logging height.
There is about 1-2 metres margin of error with them and you have to zero it everytime. (they work on air pressure)
GPS is the same, about 1 metre margin of, OK for speed as it is a relative thing.
The most accurate altimeters are radar based and might be a little beyond normal peoples budget