Automating Client Referral Tracking

Hi, does anyone have a way of automatically tracking how their new clients find them?