You need to consider a few pre-sprays depending on the fibre and circumstances but Chemspec Enzall is great for munching through the greasy, dirty traffic lanes and for routine cleans where the carpet is not too heavily soiled, consider something like Chemspec DFC which is woolsafe, allergy friendly and environmentally friendly.
It's "only carpet cleaning" though so I'm sure you will suss it out.