Skip to content

Track Facebook Ads Leads From Squarespace Forms

Visitor counts alone do not show whether a Facebook campaign produced enquiries. When follow-up happens by phone or email, you need the campaign, ad set and ad attached to each form submission so leads and later customers can be counted by the ad that brought them in.

Why form-level attribution matters

Website analytics can show that Facebook sent traffic, but it cannot follow a visitor through a later phone call or email conversation to a closed sale. Attaching source data to the form itself closes that gap: every enquiry carries the channel and campaign details that produced it, ready to be counted alongside the contact's name, email and phone number.

Four-step setup checklist

Work through the four stages in order. Skipping the UTM step means there is nothing specific to capture; skipping the hidden fields means captured data has nowhere to land on submission.

1. Tag every Facebook ad with UTM parameters

Add tracking parameters to the destination URL for each Facebook ad. A consistent convention lets you distinguish campaign, ad set and individual ad without relying on memory. Recommended mapping: UTM Medium = Paid social; UTM Source = Facebook; UTM Campaign = campaign name; UTM Term = ad set name; UTM Content = specific ad. For example, a landing page URL can carry utm_medium=paidsocial, utm_source=facebook and utm_campaign=brand-campaign. Keep naming consistent across ads so reports group correctly.

2. Install the attribution code on the site

Install the attribution code on the website. On arrival, it categorises the visitor into a channel such as Paid Social, Paid Search, Organic Search or Organic Social, based on how they reached the site. That categorisation is what later gets written into the form.

3. Add the hidden fields to each form

Add these hidden fields to each Squarespace form: Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Channel Drilldown 4; Landing Page; Landing Page Group. In Squarespace, select the form, choose Add Fields, then select the Hidden option for each field. Hidden fields are present on the form but not shown to visitors.

4. Let submissions carry the ad data into Squarespace

Once installed, the code writes the visitor's source information into those hidden fields. When the form is submitted, Squarespace captures the attribution values together with the lead's contact details, so the enquiry record shows exactly which Facebook campaign, ad set and ad generated it.

What to do with the captured data

Check the Contacts section of the Squarespace dashboard for attribution details on each lead. If you use a CRM such as Salesforce, HubSpot or Pipedrive, send the data there to report leads, conversions and revenue by campaign. Without a CRM, add the attribution fields to the lead notification email so the source is visible in your inbox. You can also send submissions to Google Sheets via Squarespace's built-in integration, then chart the results or connect a tool such as Looker Studio for dashboards.

Three reports to build first

Leads by channel: Because attribution covers all sources, not only Facebook, group monthly leads by channel to see the overall mix and decide where budget should shift. Leads by network: If ads run across Facebook, Instagram, Messenger and WhatsApp, group leads by network to see which placement produces enquiries. Leads by campaign: Group monthly Facebook leads by exact campaign to identify campaigns worth funding and campaigns producing few leads that can be cut.

UTM mapping for Facebook ads
UTM parameterRecommended value
UTM MediumPaid social
UTM SourceFacebook
UTM CampaignCampaign name
UTM TermAd set name
UTM ContentSpecific ad

Use consistent campaign, ad set and ad names so grouping in reports is accurate.

Hidden fields to add to Squarespace forms
Hidden fieldPurpose
ChannelBroad source channel
Channel Drilldown 1First level of source detail
Channel Drilldown 2Second level of source detail
Channel Drilldown 3Third level of source detail
Channel Drilldown 4Fourth level of source detail
Landing PagePage the visitor landed on
Landing Page GroupGrouping for landing pages

Add each field as Hidden in Squarespace so visitors do not see it.