Only you know, AFTER you think it all the way through, exactly what you need to achieve end result.
Do you really SPECIFICALLY need to know if the pump is running, or just want to make sure the system is functioning and not overflowing?
One possibility ---
As mentioned above, in more detail.
This would not tell you if pump is running, but WOULD alert you if the sump gets too high.
Very quick and easy, no wiring, plug and play.
Get a "piggyback" float switch.
Ballpark $50, and old school reliable.
It does NOT connect to any existing pump wiring.
You just plug it in any outlet, and then plug in your choice of a light, alarm, or whatever signaling device you want.
You could get very creative like if the pump is far away, all this is is a float that closes a switch when it rises to horizontal, and back off when it hangs vertical.
These are used by the millions in allll kinds of water handling situations, and the "piggyback" style means no hard wiring.
Heres one below, I would buy a US made one, like Wayne or Little Giant for reliability.
Well, maybe they moved to china by now, I dunno,, but old American companys.
Also, seeing as how it's trash water, I would go with the pendant float, NOT a vertical sliding switch.
Good website to look over.
https://www.sumppumpsdirect.com/Little-Giant-599117/p16473.html
https://www.sumppumpsdirect.com/pumps/sump-pump-switches.html
https://www.sumppumpsdirect.com/pumps/sump-pump-alarms.html