How do you measure precipitation?

we measure rain by using rain gauge it is measured by inches, centimeters, and millimeters. the tube for the stored rain has to have no leaking spots and you cant have the water evaporate or else you don't fully measure it.