On magnetic sensor there ars silver terminals and gold terminals.the two wires from the "zone" terminals in your alarm panel(probably zone one if its your front door)go to the silver coloured terminals(dosent matter which wire goes to which terminal).
tamper wires (if connected)go to one of the gold terminals only(not both).
paul h, August 2007