Financial Analytics

How to Track Real Estate Deal Profitability, Cost Per Lead, and Campaign ROI in Salesforce

Amr MagdyAmr Magdy
June 2025 · 10 min read Salesforce CRM Consultant

Real estate companies track leads and deals in Salesforce. Their marketing spend — on direct mail, dialers, PPC, TV, and referral programs — lives in spreadsheets. At the end of the month, someone manually calculates which campaigns made money and which didn't.

This is the gap that costs the most: when you don't know your true cost-per-closed-deal by campaign, you can't allocate your marketing budget with any precision. You invest based on volume — which campaigns generate the most leads — instead of profitability — which campaigns generate leads that actually close at a profit.

Building this analysis directly inside Salesforce, connected to your actual deal data, solves that problem permanently.

4
Key financial metrics to track
0
Spreadsheets needed
Live
Real-time P&L by campaign

The Four Financial Metrics That Matter

Before building anything, define exactly what you're measuring. For real estate acquisition companies, the four metrics that drive budget decisions are:

Cost Per Lead (CPL)

Total marketing spend on a campaign divided by the number of leads generated from that campaign. Tells you how expensive it is to fill the top of your funnel from each source.

Cost Per Opportunity (CPO)

Total campaign spend divided by qualified opportunities. More meaningful than CPL because it filters out leads that never progressed — showing which sources bring genuinely interested sellers.

Cost Per Closed Deal (CPCD)

Total campaign spend divided by closed transactions. The number that actually tells you whether a marketing channel is worth the investment.

Net Profit Per Deal

Sale price minus acquisition cost, holding costs, renovation costs, and closing costs. The actual P&L on each deal — broken by lead source to show which channels generate the most profitable deals, not just the most.

I built this exact financial analytics system at Pezon Properties (Pennsylvania) — +15% faster acquisitions and real-time net profit per deal. See the full case study →

The Salesforce Object Model

To calculate these metrics inside Salesforce, you need financial data to live in the right places. The key principle: marketing spend belongs on the Campaign object, and deal financials belong on the Transaction or Opportunity object. The Campaign field on each Lead, Opportunity, and Transaction is the thread that connects them.

Campaign Object — Marketing Spend Fields

Add these custom fields to the Campaign object to capture your marketing investment:

Transaction / Opportunity Object — Deal Financial Fields

Deal financials should live here, not in a spreadsheet:

The Net Profit Formula

A Salesforce formula field on the Transaction object calculates net profit automatically the moment fields are updated:

Net Profit Formula (Salesforce Formula Field)Sale_Price__c - Contract_Purchase_Price__c - Acquisition_Closing_Costs__c - Renovation_Actual_Cost__c - Holding_Costs__c - Selling_Closing_Costs__c

This formula runs in real time. The moment your transaction coordinator updates the sale price or enters final renovation costs, the net profit figure updates everywhere — in the record, in reports, and in dashboards.

Once this formula is in place, your leadership dashboard can show total net profit for the month alongside closed deal count — not just "we closed 8 deals" but "we closed 8 deals and made $312,000 net."

Cost Per Lead by Campaign — The Report Structure

To calculate cost per lead by campaign, you need a report that joins Campaign spend data with Lead counts. In Salesforce, this is a Cross-Object Summary Report:

The result: a single table showing every active campaign, how many leads it generated, what it cost, and the cost per lead — updated every time the report is run.

Campaign ROI — Connecting Spend to Closed Deals

The most valuable report connects marketing spend all the way through to closed revenue and net profit. This requires Leads, Opportunities, and Transactions to all have the Campaign field correctly populated — which is exactly why lead source and campaign management automation is worth investing in early.

Campaign attribution only works if the Campaign field follows the record through its lifecycle — from Lead to Opportunity to Transaction. Building Flow automation to copy and preserve the original lead source campaign is the foundational requirement for any financial analytics layer.

With that in place, a Cross-Object Summary Report across Campaigns → Leads → Opportunities → Transactions gives you a complete attribution chain: this campaign generated X leads at $Y CPL, produced Z opportunities at $A CPO, closed B deals at $C net profit each, and delivered a total ROI of D% on marketing spend.

The Dashboard View

With the reports built, the dashboard that leadership actually uses shows four components side by side:

This dashboard answers the question leadership asks every month: "Where should we put next month's marketing budget?" Instead of answering from gut feel or volume metrics, you answer with data: the campaign that generates the highest net profit per dollar of marketing spend gets the budget increase.

What to Build First

If your Salesforce doesn't have any of this today, the priority order is:

The whole system can be live in 2-4 weeks. After that, every closed deal automatically feeds the financial analytics — no spreadsheets, no manual data pulls, no end-of-month scramble.

Want this built for your real estate company?

I offer a free 30-minute audit — I'll review your current Salesforce setup and show you exactly what financial visibility is possible.

Book Free Audit →

More Articles