Socks doesn't fix the problem completely. Unfortunately, visitors don't like being told that they can keep the socks on while walking on the carpet, but if they are to sit on the bed or put the feet up on the couch, they should take it off.
Don't even feel like discussing how clean are fresh are everyone's socks.