# First-Touch Source Attribution

**Document Version:** 2.0.0 (Phase 17)

---

## 1. Attribution Model

LeadPilot V1 utilizes **First-Touch Source Attribution**:
- Every incoming enquiry is tagged with a `lead_source_id` upon capture (e.g., Website Form, Google Ads, Referral, CSV, API).
- All subsequent deals won and revenues generated by the lead are attributed 100% to that initial acquisition source.

---

## 2. Channel Comparison Metrics

- **Total Leads:** Total inquiries generated in period.
- **Won Deals:** Number of closed-won leads.
- **Win Rate (%):** Won leads divided by total leads.
- **Won Revenue:** Sum of `deal_value` for won leads.
- **Average Deal Value:** $\frac{\text{Won Revenue}}{\text{Won Deals}}$.
