It can be a vexing dilemma: whether or not to remove your shoes when visiting someone at home.
There's a marked divide between the "shoes off" people and the "shoes on" folk. Some people believe shoes should always be removed indoors in order to save the carpet and avoid tracking in mud and dirt. Others think being required to take off their shoes while visiting someone's home is inhospitable and verging on OCD.
I don't subscribe to such a polarised view. For me it's much more nuanced than that and is all about context. Yet when you're visiting people for the first time, it's not always straightforward to ascertain whether or not to ditch the footwear prior to entering. Here are some points you may wish to consider.
Age of visitor: The rule of thumb at my house is that children remove their shoes while adults leave theirs on. Firstly, the children are unlikely to be aware if they've just stepped in chewing gum or a fresh pile of doggy-do on the pavement. Secondly, the children are likely to roam aimlessly through all rooms of the house on multiple occasions. Thirdly, you can be certain that one of the children will accidentally kick another in the face; if they're barefoot then there will be a lot less blood. Adults, on the other hand, are usually much more civilised. They are mostly seated and only venture into a couple of rooms. By the time they're acting worse than the kids, quite frankly, shoes are the least of my worries.
Flooring: If a house is carpeted with wall-to-wall white shag-pile then I'd feel obliged to remove my shoes to ensure it remains pristine. On the other hand, if the flooring is of a robust material such as concrete or stone, I'd be inclined to keep my shoes on since there's little damage they could do to these surfaces.