Those are supposed to be installed on the underside of the tank and controlled with a thermostat, or at least a rheostat/lamp dimmer. They can get up to 120*F and are not designed to get wet like one of the in-tank mats from Big Apple Herps.
If all of the glue is gone you can use clear packing tape to stick it to the glass.