Personally here in Michigan at my house right outside Detroit shoes are taken off if you are going inside to stay. If you're grilling or doing yardwork or moving from the front to the back (no path but thru house currently) they stay on. I'd never keep them on for longer than 10 minutes inside but it's common.
My cousin's is totally different. Shoes off before you hit the carpet. Maybe cause they keep it obsessively clean? Carry them to the backdoor if you have to. It's not something I even think about - they just come off, I don't need his wife upset or anything.
If it's only a few friends I usually ask them to take their shoes off.
But I know many people who always wear shoes inside. I think it's also due to the cold. In Northern Europe you don't want to walk around barefoot, so keeping on the shoes is comfortable.