Skip to content
Michael Saelee
In productionAbout ten months

Ad click to closed deal: a website turned into a sales funnel

A seven-figure, owner-led home-improvement company (custom window coverings, residential and commercial) that sells through in-home consultations in one U.S. metro.

Nearly 3 timesthe paid form leads within two months, at about 40% lower cost per lead, from roughly $250

The problem

The ad platform was missing over a third of paid leads: phone calls it could not see. It reported $160 or more per lead, so its bidding learned from part of the picture.

Why it mattered

Spend follows the platform's signals. If calls and closed deals never reach it, budget drifts toward the leads that are easy to count, not the ones that close.

What I built

  1. 1

    Bring the traffic

    Search ad campaigns, plus more than 1,000 product-by-location pages.

  2. 2

    Turn the site into a funnel

    Dedicated paid landing pages, a consultation pop-up on every page, a sticky mobile call and quote bar, and prices removed so buyers book a consultation.

  3. 3

    Capture every lead

    A 3-step form that saves a partial lead at each step, drop-off tracked per step, and call tracking with a pool of numbers swapped per visitor.

  4. 4

    Put every lead in one CRM

    Every call and form becomes a lead in a custom CRM (Postgres and an admin dashboard). Phone clicks tie back to the visitor's session, and staff record status and contract value.

  5. 5

    Send the signals back

    Form conversions, connected first and repeat calls, and won deals with their contract value go to the ad platform each night, with hashed identifiers.

  6. 6

    Bid and budget on data

    The platform's own bidding, advanced only on data; a budget policy file the owner can edit, with a hard monthly cap; a coded campaign builder of 200+ operations, validated by the platform. A bid ladder and a budget guard that can only lower budgets are built, with live writes still switched off.

  7. 7

    Report every day

    A nightly sync, a weekly AI-graded scorecard reviewed by an expert agent, a daily digest with the true cost per lead, and an hourly business-rules monitor.

My role

Solo technical operator for about ten months and about 800 commits. I set the strategy, directed AI agent teams and reported to the client's owner.

Stack

  • Next.js, React and TypeScript
  • Tailwind and shadcn/ui
  • Express API
  • PostgreSQL with pgvector
  • AWS
  • Google Ads API
  • Google Analytics 4 and Google Tag Manager
  • CallRail
  • PostHog
  • Clerk
  • Resend
  • Claude models for content and agent review
  • A custom command-line tool
  • Vitest and Playwright, 700+ tests on the ads tooling

Results

  • About $100true cost per lead on 90 days of data (about $110 to $120 in a later month), against $160 or more reported by the ad platform
  • Over a thirdof paid leads were calls the ad platform could not see; they now reach it
  • $18,000+of closed-deal data restored to bidding, after catching a silent failure that ran for two weeks
  • Over two dozenlost phone leads recovered, after finding a five-week gap
  • About $20 a dayof keyword waste found inside live campaigns

Where a human approves

  • The strategy requirements.
  • Turning a campaign on: every campaign is created paused.
  • Every budget change.
  • Production deploys.

How I think

Judge on the true cost per lead

The platform's number left out the calls. Only connected calls count as conversions, phone-number clicks are excluded because they double-count, and spend is judged on what a lead really costs.

Make silent failures loud

An hourly business-rules monitor and a daily digest put the numbers in front of a person, and automation runs dry by default.

Have a problem like this one?

Tell me what it is and how you measure it today.

Contact