The magnets I used were only 2.6mm deep and fit just proud of the print surface. I press-fit my magnets and did not need any glue.
The author remixed this model.