Digital sensor.
+5 V supply Connectors and magnet not included. Red: +5v Black: GND (trig gnd) Blue: Signal Side with text towards the magnet.