Track Facebook Ads in Attio: From Click to Customer
You can see how many people visited from Facebook, yet that does not reveal which campaign created a qualified lead, an opportunity or a paying customer. The fix is to carry campaign identifiers from the ad click through the website visit and into the CRM record created by a form submission.
How the attribution chain works
An attribution snippet placed on the website examines how each visitor arrived, classifies that arrival into a channel such as Paid Social or Paid Search, and stores the result in a browser cookie. When the visitor later submits a form, the stored values are copied into hidden fields and travel with the contact details into connected backend systems, including Attio CRM. That chain makes it possible to report leads, opportunities, closed-won customers, revenue and marketing ROI by the campaign that originated them, and to compare close rates across channels.
Setup checklist
Work through these checks in order:
- Install the attribution snippet on the website, directly through site settings or via a tag manager such as Google Tag Manager.
- Add the five hidden fields listed below to every lead-capture form that should carry attribution data.
- Confirm the form builder supports hidden fields, by dragging in a hidden field type or hiding a standard field in its settings.
- Add UTM parameters to every Facebook destination URL before launch.
- Submit a test form after clicking a tagged link and verify that all five values arrive in Attio alongside the contact record.
- Build channel, campaign and revenue reports only after the test record passes inspection.
Hidden field map
The five fields are Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4. Together they form a hierarchy from broad channel down to the individual ad, which is what allows reporting at each level of granularity without rebuilding the form for every campaign.
UTM convention for Facebook ads
UTM parameters are extra text appended to a destination URL so the receiving site can identify the campaign behind the click. A practical convention for Facebook is: medium set to Paid Social, source set to Facebook, campaign set to the campaign name, term set to the ad set name, and content set to the specific ad. For example, a destination ending in /integrations/attio could carry utm_medium=paidsocial, utm_source=facebook and utm_campaign=brand-campaign. Free URL builders can help assemble these links, but the important discipline is applying one convention consistently.
Worked example: from click to CRM record
When a visitor arrives from a tagged Facebook ad, the parameters are captured and held in a cookie while the visitor browses. If that visitor then completes a contact or quote form, the values are written into the hidden fields and submitted with the name, email and other contact details. In one illustrative scenario, a visitor who clicked a brand campaign ad, browsed the site and requested a demo would produce Channel = Paid Social, Channel Drilldown 1 = Facebook, Channel Drilldown 2 = Brand Campaign, Channel Drilldown 3 = Europe Ad Group and Channel Drilldown 4 = Pink Ad. Those five values show exactly how a single CRM record should be read.
Why this approach is more reliable
Four advantages distinguish this approach from simply reading UTM values on the landing page. First, it captures attribution for other channels too, including Organic Search, Organic Social, Referral and Direct, so Facebook can be judged against the full lead mix. Second, cookie storage preserves the parameters across pages, improving accuracy when conversion happens away from the landing page. Third, normalisation handles inconsistent tagging, so variants such as utm_source=facebook and utm_source=facebook.com are still assigned to Paid Social. Fourth, landing page URL and landing page group are captured, which reveals whether content areas such as a blog are contributing to results.
Three reports to build in Attio
Once attribution fields flow into Attio, three reports answer the questions that matter most. Leads by channel shows volume across every source and helps decide where budget and time should shift. Customers by campaign compares monthly new customers per campaign against lead volume, exposing campaigns that generate interest but never convert. Revenue by campaign connects each customer back to the originating campaign so ROI can be judged against ad spend and related costs; one illustrative captured example showed $65,000 in new revenue attributed to Facebook in a single month, which would represent positive ROI if total spend fell below that figure. Breaking revenue down further by campaign shows where to invest more and where to stop.
Reporting and next step
Attio's native reporting can handle the basic breakdowns, while a connected tool such as Tableau or Looker supports more advanced analysis. The essential point is that campaign identity must be attached to the contact at form submission, not inferred later from visitor sessions. With that link in place, every lead, opportunity and customer in Attio carries its originating campaign, ad set and ad. Before committing to any paid plan, check the current trial length, pricing tiers and billing terms directly with the provider, since these details can change and should be confirmed against the latest published information.
| Hidden field | What it stores | Example value |
|---|---|---|
| Channel | Broad marketing channel | Paid Social |
| Channel Drilldown 1 | Platform or source | |
| Channel Drilldown 2 | Campaign name | Brand Campaign |
| Channel Drilldown 3 | Ad set or ad group name | Europe Ad Group |
| Channel Drilldown 4 | Individual ad name | Pink Ad |
Values depend on the UTM convention applied to the ad destination URL.
Frequently asked questions
Why is visitor traffic alone not enough?
Website visitor counts do not show which campaign produced a lead or customer. UTM parameters on the ad destination, retained while the visitor browses and then written into form fields, connect the eventual submission to campaign, ad set and ad.
Which hidden fields are needed?
Add five hidden fields named Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4. Most form builders let you drag in a hidden field or hide a standard field in its settings.
How should Facebook UTM values be structured?
Use Paid Social for medium, Facebook for source, the campaign name for campaign, the ad set name for term and the specific ad for content. Consistency matters more than the exact labels, provided the same convention is used across campaigns.
What happens if the visitor browses before converting?
A cookie retains the parameters as the visitor moves between pages, so the form submitted later still receives the original campaign data instead of losing it when the landing page is left.
How is the data reported in Attio?
Once the fields reach Attio with the contact details, native Attio reporting or a connected analytics tool such as Tableau or Looker can group leads, customers and revenue by channel and campaign.