Is this ethical/legal?

My guess is this is a United Way campaign. It’s perfectly legal to track direct contributions out of your pay check. May not sit well with those who don’t want to give, but no privacy laws are being violated.