Any installer tips for lining up recessed sensors

Any tips for lining the magnet up with the sensor in a door?

Drill and install one side, then measure and mark.