Capture the GCLID in Squarespace Forms and Send It to Your CRM
Visitor counts alone do not prove which Google Ads clicks become leads. This guide explains how to preserve the click identifier from the first landing page, attach it to a Squarespace form submission, pass it onward, and return a qualified outcome to Google Ads.
Why the click ID needs to travel with the lead
Google Analytics can connect ad traffic to visits, but a visit is not a lead or a paying customer. Without the click identifier attached to the enquiry, campaign reporting cannot reliably distinguish profitable demand from traffic that never converts. The practical fix is to keep the identifier with the person from landing through submission, then carry it into the systems that manage the lead.
Three-step setup: install, store, submit
First, install the attribution snippet on the site. In Squarespace, open Settings, then Advanced, then Code Injection, and paste the supplied code into the Header field. Second, add a hidden field named GCLID to each relevant form. That field is the destination for the stored value. When a visitor arrives from a Google Ad, the tool reads the identifier from the URL and keeps it in the browser. If the person browses to another page or returns later, the value remains available. On submission, the tool places it into the hidden field so Squarespace records it beside the name, email and other answers. The value can then be viewed on the Squarespace contact record and forwarded through a native integration or an automation tool such as Zapier or Make.
Failure distinction: URL-only capture versus stored capture
A prefilled field that depends on the current URL is fragile. Consider a visitor who lands on the homepage from an ad and then opens the contact page: the identifier is no longer in the address bar, so a URL-only method loses it. Browser storage solves that gap. It also creates a cleaner record for later matching because the identifier captured at first contact is the one written to the form, rather than whatever happens to remain in the URL at submission time.
Return the outcome to Google Ads as an offline conversion
Create the conversion action first. In Google Ads, open Goals, then Conversions, create a new conversion, choose Offline Conversion, and select Add data source later when prompted. Next, choose the business event that should trigger the upload. Waiting for a fully closed deal may produce too few events; the guide notes that smart bidding strategies such as Maximise Conversions, Maximise Conversion Value and Target CPA generally need at least 50 conversions per month. If closed deals are rarer, use an earlier event such as a newly created CRM deal. Then build the automation: set the trigger to that event, choose Google Ads and Send Offline Conversion, and map the stored GCLID to the matching field. Test the full path before increasing spend.
Pre-launch checklist
Use this check before launch: the snippet is in the site header; every target form has a hidden GCLID field; a test click retains its identifier after moving to a second page; the submitted record shows the identifier in Squarespace; the CRM receives the same value; the offline-conversion trigger fires once; and Google Ads accepts the test event. If any step fails, fix that step before judging campaign performance.
| Field | Paid-search example | Organic-search example |
|---|---|---|
| Channel | Paid Search | Organic Search |
| Channel Drilldown 1 | ||
| Channel Drilldown 2 | Home Renovations Campaign | Search-engine domain used |
| Channel Drilldown 3 | Kitchen Renovations Sydney | Search term, if available |
| Channel Drilldown 4 | Free Quote Ad | Not applicable |
Illustrative field mapping based on the captured building-company example; actual values depend on campaign tagging and available search data.
Frequently asked questions
Why does a GCLID disappear before a form is submitted?
No. If the visitor moves from the landing page to another page, the parameter can disappear from the address bar before submission. Storing the value in the browser at first visit preserves it for a later form submission, including a return visit days later.
Can hidden fields capture more than the GCLID?
Yes. The same hidden-field approach can also carry UTM-derived channel details for paid traffic and channel details for organic search, organic social, referral and direct visits, so each lead record shows how the visitor arrived.
When should an offline conversion be sent to Google Ads?
Choose an earlier, more frequent event such as a newly created deal when closed deals are too infrequent. Smart bidding approaches named in the guide generally need at least 50 conversions per month to work well, so volume matters when selecting the trigger.