Many rain barrels have a spigot at the bottom so you can turn on the tap and rinse dirty shoes and feet. I wear Croc's for gardening when I'm not barefoot
but I have a garden hose right by the back door so I can spray off my shoes and feet before coming on the porch and into the house.
I must admit though ... sometimes I come in through the garage and track leaves and dirt into the house making more work for myself because then I have to get out the vacuum!