Doormats are your little helpers, because they can remove more than 60% of the dirt from your shoes before you even step into your home.
Give them a good shake regularly to get rid of loose dirt.
Just make sure that if you use an inside doormat on a smooth floor, you check that it doesn't have a rubber backing, as some rubbers could leave a bit of a stain.