Coin Slot Detector

I think ill try the switch you recommended, I bought this one:

but I think the switch from SparkFun would work better. I have also tried this one:

but it is too small.