The process of identifying and assigning credit to the marketing channel, campaign, or touchpoint responsible for generating a lead.