Yup, that will do it as well. I hot glued my probe right to the glass, and only had an inch of substrate. Or you could hot glue it to the bottom of the hide. Or just hot glue to the side of the glass, just above the substrate line... any of those will work.

Tape is a no no for enclosures. The snake can get stuck and lose scales.