Rearview mirror glue like
this will likely be your best bet, or at least it works
far better than the special 2-part epoxy syringe tube stuff. (like years with the cheap kit vs hours with the 'spensive stuff)
Before gluing roughen up the finish on the latch (like til you hit the real metal under the chrome) then take the missus' white emory board that she uses for her nails and carefully scuff the glass where the glue would be.
Glue it, tape it, then put a c-clamp on it (not too tight

) overnight.
Should last for years unless you really reef on the latch handle while pulling it shut.
Side note:
For the price of the things, it wouldn't hurt a bit to tie a bit of monofilament fishing line from the latch to the window frame.
Might not be the most pretty thing in the world but you won't have to watch in your mirror as that many $ worth of mechanism bounces down the highway never to be found again.