Source Tracking Code

Source Tracking Code

I am trying to setup a source tracking code to see where the candidates are coming from. Can you please explain how to set this up?