Mounting Contact Sensors On Gate Operator

My gate operator, Topens, has magnet actuated limited switches. I was able to tape a contact sensor to the plastic housing so that the internal magnet actuated the switch. With two sensors, one on each end, you could tell if the door was fully closed or fully opened.

I feel this mounting could potentially be more reliable. Other brands of gate operators might also use magnetic proximity switches as well.