Here, you'll find support for your Door and Window Sensor.
How do I mount the Door and Window Sensor on a Sliding door?
For sliding glass doors that do not align flush with their frame, place the transmitter on the door and the magnet at a 90-degree angle to the transmitter on the inside of the frame as seen below.