The AI Trades
Internal Operations

Unified Lead Source Attribution Dashboard

Replit Build 8–16 hours to build and connect APIs
OpenAI CodexServiceTitanGoogle Ads APIFacebook Ads APIReplitChart.js

The Problem

Build a single custom dashboard that pulls lead and revenue data from Google Ads, Facebook Ads, and your CRM to show which marketing channels are generating the most booked jobs and highest ROI, enabling smarter ad spend decisions.

How It Works

Input

Lead and spend data from Google Ads API, Facebook Ads API, and ServiceTitan/CRM API (lead source tag, job booked status, revenue, ad spend by channel)

Transformation

Codex-built web app fetches data from all three APIs on a schedule, joins records by lead source, calculates cost-per-lead and cost-per-booked-job per channel, renders charts and summary tables in a password-protected dashboard

Output

Live dashboard showing leads, booked jobs, revenue, and cost-per-acquisition broken down by marketing channel; exportable CSV report

ReplacesThird-party marketing analytics tools like CallRail or Databox ($150–$400/mo)

PRD

prd here

RolesOwnerMarketing ManagerGM
IndustriesHVACPlumbingElectricalRoofingPest ControlLandscapingCleaning
PrinciplesOne source of truth eliminates guesswork in marketing budget allocationConnecting existing tools via API is cheaper than buying a new analytics platformVisibility into channel performance prevents wasted ad spend