I've looked at the directions for use on Superglue and it does not mention being suitable for use to bond glass.
I also checked a bottle of Gorilla Glue, it also does not mention being suitable for bonding glass.
By all means you can try using tape to hold the bonded part in position while it sets. If the metal base is steel, (I can't recall for sure, it might be stainless steel) a powerful magnet might be used on the outside surface of the glass? Back in my day, I used to dismantle the catch (the catch shown in the picture in post#1, has a grub screw in the side that has to be removed) cleaned, prepared, applied adhesive, positioned the mounting base correctly on the glass (it has to be correctly indexed) and clamped it in position with a small clamp with soft jaws, left it overnight then reassembled the catch.
In the 1970's/'80's, Locktite Glassbond was supplied with a special primer spray, this didn't just clean the glass (as isopropyl alcohol will do) but it made the glass 'appear' as metal to the adhesive. (I discovered this in conversation with a technical expert with the Locktite Corp.).
Nowadays, afaik, glass-bonding adhesives come as a single product so perhaps only a wipe with a cleaning agent is required before use. Idk. Read the instructions?
TweakyB - Your 'glass' hob is actually 'pyroceram', a high-temperature ceramic, it's not glass.
To remove the spilt Gorilla Glue, I wouldn't recommend attempting to chisel it off - maybe gently heat the area affected by turning on the heating ring to soften the glue, then try to scrape it off using one of the special purpose scrapers designed for use on 'glass' hob's. It's important not to scratch any pyroceram surface as doing so will cause it to then break more easily.
Lots of 'glues' might appear to bond glass to metal but won't last long - I've seen attempts at using Superglue, contact adhesives, epoxy, polyurethanes etc. - none last. The problem with using the wrong adhesive is that when it fails, it leaves minute traces embedded in the glass surface making it much less likely that the correct bonding agent will subsequently work and last.
So, as the adhesives experts say, use the correct product for the task and use it correctly including pre-application surface preparation.
Al.