Lead Attribution for a Webflow Builder Site: Every Enquiry Tied to Its Source, Quote and Won Job
In short
An Adelaide construction company had leads coming from Google, Instagram, ChatGPT and referrals, but no way to tell which channel turned into paid work. In one week I connected their Webflow quote form, Google Tag Manager, GA4, Make and Xero so that every enquiry lands in one lead log with its first and last touch source, its quote value and its won value. No new software was bought, and the setup runs for about 1,000 Make credits a month.
- Client
- Construction and carpentry company, Adelaide, Australia (through a marketing partner)
- Stack
- Webflow, Basin, Google Tag Manager, Google Analytics 4, Make, Google Sheets, Xero

At a glance
- Website
- Webflow, with a multi-step quote form and Basin as the form backend
- Timeline
- One week (November 2026)
- Result
- Every enquiry logged with its channel, quote value and won value
- Running cost
- No new subscriptions; about 1,000 Make credits a month
The problem: leads in one place, quotes in another
The business got enquiries from Google search, Google Maps, Instagram, ChatGPT and word of mouth. The quote form on Webflow sent each enquiry to Basin. Quotes went out from Xero. None of these systems talked to each other.
The owner could see how many enquiries came in, but not where they came from. He could never answer the question that matters most: which marketing channel actually wins jobs?
The audit also found an old Google Tag Manager container still on the site. It fired its own phone click tag, so every call click was counted twice in GA4.
The solution: four layers, one lead log
The setup has four layers: capture the source on every enquiry, report it cleanly in GA4, log every lead automatically, and connect every lead to revenue.
1. Capture the source on every enquiry
- A GTM script stores each visitor's first touch and last touch: source, medium, campaign, landing page and date.
- It also keeps the ad click IDs: gclid, gbraid and wbraid for Google Ads, and fbclid for Meta.
- These values fill 13 hidden fields on the Webflow form, so they travel with the enquiry.
- A required "How did you find us?" question on step 2 catches what no tracking can see, such as a site sign, a vehicle or a referral.
- Every enquiry gets a unique lead ID, so one lead can be followed from the form to GA4 to the quote.

2. Report it cleanly in GA4
- A
generate_leadevent fires only after the form backend confirms the enquiry, with the service, how found and lead ID attached. - A
phone_clickevent fires once per call click. - GA4 got custom dimensions, key events, 14-month data retention and a custom channel group that splits out AI Search (ChatGPT, Perplexity, Gemini, Claude, Copilot), Google Business Profile and QR codes.
- The old GTM container was removed, which ended the double-counted calls.


3. Log every lead automatically
- Basin's webhooks and native integrations needed a paid plan, but its API worked on the client's current plan.
- A Make scenario reads the API every hour, checks a data store so no enquiry is ever added twice, and writes new enquiries to a Google Sheets lead log.
- A channel formula labels each lead (Google Ads, Organic Search, AI Search, Organic Social, Referral and more) from its first touch.
- Rows marked Spam, Test or Not a lead turn grey and stay out of the reports.

4. Connect every lead to revenue
- The client already copied Xero quotes into a sheet through an existing Make scenario. The lead log reads that sheet and matches quotes to leads by email.
- Each lead shows its quote numbers, first quote date, quote value and won value (accepted or invoiced quotes).
- A summary tab shows leads, quotes sent, quote value, jobs won, won value and win rate by channel.
- Quotes that match no website lead go to their own tab, which shows how much work comes from phone calls, referrals and repeat clients.

Closing the loop: won jobs back to Google Ads and Meta
Tracking a lead is only half the job. The real gain comes when the ad platforms learn which clicks turned into paid work.
The lead log was built for this step. For every enquiry it already stores the gclid, gbraid, wbraid and fbclid, the lead's email and phone, the won value and the quote date. That is everything needed for:
- Google Ads offline conversions: upload each won job with its click ID and value, through Google Ads Data Manager or a scheduled upload, with Enhanced Conversions for Leads using the hashed email and phone.
- Meta offline conversions: send each won job to Meta through the Conversions API with the fbclid, hashed email and phone, and the job value.
Once won jobs flow back, Google Ads and Meta can optimise bids for revenue, not form fills. This is the next phase of the project.
Results
- One lead log with every enquiry since July: 40 past enquiries backfilled, new ones added within the hour.
- AI search visibility: the backfill found an enquiry that came from ChatGPT, before any AI tracking existed. AI assistants now have their own channel.
- Accurate call tracking: phone clicks counted once instead of twice.
- Revenue by channel: each lead now shows its quote value and won value.
- Hidden revenue found: over $1.3M in quotes came from outside the website form, through phone calls, referrals and repeat work. The owner had never seen that number.
- No new software: no form plan upgrade and no Zapier plan; about 1,000 Make credits a month.
How it was tested
Seven tests ran from staging to the live site: hidden form fields, GA4 events in DebugView, Tag Assistant on production, the Make run, the hourly schedule, duplicate protection and quote matching. Each result was checked by hand.
One bug appeared during testing: the Make scenario re-added the same enquiry on every hourly run. It was traced to a filter reading the wrong field name, fixed, and re-tested the same day. The client received a full test report with screenshots.
FAQ
Frequently asked questions
What is lead attribution?
Lead attribution means recording where each lead came from, such as Google Ads, organic search, social media or a referral, and keeping that source attached to the lead all the way to the sale. It lets a business see which channels bring in paying customers, not just traffic.
How do you track the source of a Webflow form submission?
Add hidden fields to the Webflow form and fill them with a script in Google Tag Manager. The script reads UTM parameters, ad click IDs (gclid, fbclid) and the referrer, stores them in the browser, and writes them into the hidden fields before the form is sent. The source then arrives with the enquiry in the form backend or CRM.
What is the difference between first touch and last touch attribution?
First touch is how the person first found the business, for example a Google search a week ago. Last touch is what brought them back to enquire, for example an Instagram post today. Saving both shows which channels start the journey and which ones close it.
Can you track leads that come from ChatGPT and other AI assistants?
Yes. ChatGPT, Perplexity, Gemini and similar tools often send visitors with a recognisable source, such as utm_source=chatgpt.com. A custom channel group in GA4 and a channel rule in the lead log can group these visits as "AI Search" so they no longer hide inside referral or direct traffic.
How do you connect website leads to Xero quotes?
Match on a shared field, usually the customer's email. In this project the quotes were already copied from Xero into a Google Sheet, so the lead log matched each quote to its lead by email and pulled in the quote value and status. Accepted and invoiced quotes count as won jobs.
Do you need Zapier or a paid form plan to build a lead log?
Not always. In this case the form tool's API worked on the existing plan, so a Make scenario could read new enquiries every hour for about 1,000 credits a month. Checking what the current tools already allow saved the client a plan upgrade.
How do offline conversions improve Google Ads and Meta ads?
Without offline conversions, ad platforms only see form fills, so they optimise for more enquiries of any quality. Sending won jobs back with their click ID and value teaches Google Ads and Meta which clicks became paying customers, so they can bid for revenue.
How long does a lead attribution setup like this take?
This project took one week from audit to live, including staging tests, go-live and a test report. The time depends on the website platform, the form tool, the CRM or accounting system and how much tracking is already in place.
Related
Want a setup like this for your account?
Send me a short note about your platforms and what is not being tracked.
Get in touch