I just used one of these https://www.ebay.co.uk/itm/173368034164 - Under £15 and works perfectly:)

Just chop the original plug and wire it to the new sensor like this:



FunctionHarness...