For a rack with belly heat I put the probe on top of the tape on a middle shelf, off to one side so the tub sliding in and out doesn't hit it. I tape down the probe and a bit of the cord in place so the probe doesn't move.
For a rack with back heat I tape the probe to the very back of one of the middle shelves, centered on the shelf, assuming that area is accessible. Again, tape the probe and cord down so the probe can't shift.