Generic sensors are directional so the magnet disc needs to pass the sensor in the correct direction, if it doesn't work forwards try back peddling if it works then you have to flip the magnet disc fo the magnet poles to be sensed.
Although you are capable I'm sure, the pin outs have to match...