Both. The probe on the warm side should be under the loose substrate and the unit on the cool side should be sitting on the bottom of the tank so you can measure belly temps. If not, ou are not getting accurate readings and temps could be way off (too hot or too cold).