Capture the GCLID in Wix Forms and Send It Back to Google Ads
A GCLID lets you connect a Wix form submission to the Google Ads click that led to it. This guide explains how to store that identifier in a hidden field, pass it to a CRM or other tools, and later return it to Google Ads as an offline conversion.
Why capture the GCLID with a form submission?
Google Ads spend is hard to judge when form leads cannot be tied back to the click that produced them. Capturing the GCLID with each Wix submission closes that gap: the identifier travels with the lead into a CRM or other system, where it can later be matched to a customer outcome and returned to Google Ads.
Capture flow: install, store, write, submit
- Install the attribution tool on the site using the owner-supplied snippet, placed through Wix Settings under Custom Code. 2. Add a hidden field named GCLID to each relevant Wix form. 3. When a visitor arrives from a Google Ads click, the tool reads the GCLID from the landing URL and stores it in the browser. 4. On submission, the tool writes the stored value into the hidden field. 5. Wix records the GCLID alongside the visitor's name, email and other submitted details. 6. Use Wix Automations or a connector such as Zapier to pass the value onward to a CRM or other tool. Checklist before launch: snippet installed on the site, hidden field present on every target form, a test click and submission produce a populated GCLID, and the value appears in the CRM record.
Why browser storage matters
Reading the identifier only from the landing page URL fails when a visitor moves to another page before submitting, because the GCLID is no longer in the address bar. Storing it in the browser preserves it across pages and return visits. The same mechanism can also carry UTM parameters and channel details, so a single submission can show the campaign, keyword and ad behind the lead rather than only the click ID.
Return the GCLID as an offline conversion
First create the offline conversion in Google Ads: open Goals, then Conversions, start a new conversion and choose Offline Conversion. When asked for a data source, select Add data source later. Next, choose the funnel event that best represents value for your business. Waiting for a fully closed deal may produce too few events for Smart Bidding to learn from; Google says around fifty conversions a month are needed for Smart Bidding to learn effectively, so if the business does not close that many deals monthly, track an earlier funnel event such as a created deal or a qualified lead. Then build the connection in Zapier: trigger on that chosen event, use Google Ads with Send Offline Conversion, and map the stored GCLID to the matching Zapier field. Test the full path before increasing ad spend.
| Example | Channel | Drilldown 1 | Drilldown 2 | Drilldown 3 | Drilldown 4 |
|---|---|---|---|---|---|
| Paid search click | Paid Search | Residential Design Campaign | Modern Home Architect Sydney | Free Consultation Ad | |
| Organic search visit | Organic Search | www.google.com | Residential Architect Sydney | Not available |
Illustrative examples from the captured material; replace with your own campaign and keyword values.