Google and FB tracking

Is there a way to improve the source tracking information on landing pages? I’m wanting to find a way to put specific tracking links in to link up with the contacts records ie so I know whether the lead came through to our landing page through google or FB