A recent study conducted by researchers at the University of Houston . has shown that 26.4% of shoes carry Clostridium difficile, while a 2015 study claimed that 40% of shoes carry Listeria monocytogenes. Work on a farm? A 2014 study concluded that your boots are almost certainly covered in E coli. These deadly bacteria are not the things that should be traipsed through living rooms.(https://www.theguardian.com)
Escherichia coli (E. coli) bacteria normally live in the intestines of healthy people and animals. Most varieties of E. coli are harmless or cause relatively brief diarrhea. But a few particularly nasty strains, such as E. coli O157:H7, can cause severe abdominal cramps, bloody diarrhea and vomiting.(https://www.mayoclinic)
It helps to have easy slip on that can be worn around the house, I shared an Idea once with my female colleagues to always keep a simple slipper in the office with which to visit the convenience. That way you do not transfer bacteria from the floor in the convenience at work through your shoes to the rug in your living room.
Little steps like this can save you and your loved ones a whole lot of trouble especially if you have the little ones still crawling on the floor
Politely ask guests visiting your home to leave shoes at the door and go a step further to provide easy wear for them during their stay, I know its not that easy but its a decision for you to make, would you rather be mildly inconvenienced or have yourself and loved ones get sick? You choose.