The location of the magnet is determined by the location of the tamper switch.
Image
Measure distance from inside edge of door to edge of magnet