Sump Pump Monitoring System

A dead simple way of detecting AC is to just plug in a 5v dc adapter (USB charger or something) and check for 5v on that. Not the most efficient (vampire draw), but it certainly works.

The one you linked shows the full circuit if you want to do it that way, which also works very well, but you have to build it. (or order it)