Guests wearing shoes in the house?

I see this debate a lot and I’m just genuinely curious where everyone stands. In my household my kids, hubby and I obviously don’t wear shoes in the house. But when we are hosting, I always tell guests to feel free to leave on their shoes. I just feel is part of hosting duties, you tidy your home beforehand and afterwards. I don’t know why it’s a big deal to clean the floors after guests leave or the next AM. I’ve always found it awkward to attend a party at someone’s home and be asked to remove shoes.

To be super clear I’m talking about actually hosting a dinner party or cocktail party. Not like passing by to see a friend, in which case totally understandable.