To calculate the cost of a lead:
Set up goals in Google Analytics and enable Enhanced Ecommerce.
Import costs from advertising sources into Google Analytics.
Include call tracking data if you use feedback calls on your site.
To simplify and automate CPL calculation, you can use OWOX BI.