Work · End-to-end analytics for a clinic
From an ad clickto a paid visit.
End-to-end analytics for a dental clinic: channels, Meta campaigns down to the ad, a lead card with the call and the deal, offline conversions and a daily Google Sheets report with a PDF for the owner.
End-to-end analytics for a clinic · November 2026
Leadpath
Six sources with spend, leads, bookings, paid visits, cost per booking and ROMI, Meta Ads from the campaign down to the creative, a lead card with every tag, the CallRail call transcript and the HubSpot deal stages, the Google Ads upload with its error statuses, Meta CAPI events with event_id, and a Daily sheet where an overspent budget is marked red.
- WHAT WAS NEEDED
- A clinic pays for Meta, Google Ads and local ads, while requests come from site forms, calls and Instagram Direct. The ad account shows leads, the CRM shows payments, and the only way to join them is by hand in a separate sheet. The owner wants to see which campaign brings paid visits, what a booking costs and which front desk manager loses requests.
- WHAT WE BUILT
- Five screens of one report. A channel dashboard with cost per booking and ROMI. Meta Ads by level: campaign, ad set, ad and the leads under each. A lead card with every touch, the call with its transcript and the deal stages. Offline conversions that send paid visits back to Google Ads and Meta. And a daily Google Sheets tab with an AI summary and a PDF for the owner.
- HOW IT WORKS
- Every lead carries its tags: utm, fbclid, gclid and the GA4 client_id. They tie the call and the CRM deal to the click, so a payment lands on the campaign and the ad the patient came from. Credit switches between first and last touch. Paid deals go back each morning to Google Ads as offline conversions and to Meta through the Conversions API with an event_id, so a sale is never counted twice. The page is static HTML, CSS and JavaScript, and every channel, campaign and figure sits in one data file.
- WHAT IT DOES NOT DO
- The page is not connected to ad accounts, telephony or a CRM: the figures on the screens are sample data, and the buttons change the state only in the browser. It does not run data-driven attribution or media mix models, only first and last touch.
01Channels and campaigns · 2
Every channel in one table. Meta spent 9,600 zł and brought 41 bookings, 234 zł per booking.
02The lead card on a phone · 1
The lead card: who handles it, where the deal stands and which click started it.
03Offline conversions · 1
Paid visits go back to Google Ads and Meta. A failed upload shows its reason in the same row.
04The report in Sheets and PDF · 2
The daily sheet: an overspent budget is red, and the summary is already written.
