Skip to content

Capture UTM Parameters in Wix Forms

Wix Forms can record campaign data alongside the details a visitor types, but only if the form has somewhere to store that data. Hidden fields provide that storage: they stay invisible during completion, then travel with the submission into the dashboard, notifications, CRM or spreadsheet.

Why attribution belongs on the form itself

Without attribution data, a form submission shows who contacted you but not which campaign, network or page brought them in. That gap makes budget choices guesswork: paid activity may look busy while organic or referral work quietly produces the bookings, or the reverse. Attaching source information to every submission closes that gap at the point where a lead is created.

Step 1: Install the tracking snippet

Install the tracking snippet on the site, either through Wix Custom Code in dashboard settings or through Google Tag Manager where that is already in use. The snippet reads UTM values from the arrival URL, classifies the channel, and stores the result in the browser so it survives navigation between pages. That persistence matters when a visitor lands on a campaign page, then moves to a separate demo or contact page to submit: the original campaign details are still available even though the UTMs are no longer in the address bar.

Step 2: Add six hidden fields

Add six Short Answer fields at the bottom of the form, then set each one to Hidden in the Dev menu. Visitors never see them, but they give the tracking tool named slots to fill and give Wix named fields to save. Use these exact labels so downstream reporting stays consistent: Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Landing Page; Landing Page Group. Repeat the same set on every form whose leads you want to report on, rather than mixing labels between forms.

Step 3: Let the tool populate the fields

On submission, the tool fills the hidden fields automatically. Channel gives the broad source, such as Paid Search. The three drilldown fields add progressively finer detail, for example the network, the campaign name and the ad name. Landing Page records the full first page URL, while Landing Page Group records its subdirectory, such as the section of the site where the visitor arrived. Together they answer both which campaign worked and which content area converted.

Worked example: a paid search lead

Consider a visitor who clicks a paid search ad for a tax service, lands on a services page and requests a consultation. The saved values would read: Channel = Paid Search; Channel Drilldown 1 = Google; Channel Drilldown 2 = Tax Services Campaign; Channel Drilldown 3 = Small Business Tax Ad; Landing Page = the services URL; Landing Page Group = Services. That single record lets you compare that lead directly with leads from other campaigns without reconstructing the journey later.

Step 4: Save and route the submission

When the visitor submits, Wix saves the hidden values together with the visible answers such as name, email and phone. From there the combined record can be viewed in the Wix Dashboard, included in submission email notifications, forwarded to a CRM such as Salesforce, HubSpot, Zoho CRM or Pipedrive, or sent to a spreadsheet for reporting. Decide in advance which destination is the reporting source of truth, and check that field names survive the transfer intact.

Beyond UTMs: organic sources and click IDs

UTM-only capture misses every lead that arrives without tagged links. The approach described here also classifies organic sources including Organic Search, Organic Social, Direct and Referral, so a complete channel report is possible instead of a paid-only view. It also captures click identifiers where present, including GCLID, MSCLKID and FBCLID, which can later be returned to the ad platform as an offline conversion when a lead becomes a customer. Optimising against real customers, rather than form submissions alone, gives the platform a stronger signal.

Landing page reporting for content

Landing page capture adds a content dimension that UTMs alone cannot provide. Recording both the exact page and its group lets you total leads by a whole section, such as a blog, and then break that total down by individual post or page. That makes it possible to see whether content investment is producing enquiries, not just visits.

Four reports to build from the captured data

Once the data reaches a CRM or spreadsheet, four reports cover most budget decisions. Leads by Channel shows monthly volume per source and reveals when spend should shift toward a channel that already converts. Leads by Facebook Ads Network compares Facebook, Instagram and Messenger within Meta activity. Customers by Google Ads Campaign connects campaigns to paying customers rather than clicks. Revenue by Keyword, enabled by including the keyword in Google Ads UTMs through tracking templates, shows which search terms produce income and which deserve higher bids or more SEO focus.

Pre-launch checklist

Before going live, run a checklist on a test submission. Confirm the snippet loads on every page, not only the landing page. Confirm all six hidden fields appear in the saved record with the expected labels. Submit once from a tagged paid link and once from an untagged organic visit, and verify both records carry sensible channel values. Check the email notification, dashboard view and CRM or spreadsheet destination each show the same attribution values. Finally, confirm the landing page and group match the page where the visitor first arrived.

Getting started

Start with {{OWNER_TRACKING_TOOL}} and {{OWNER_TRIAL_OFFER}} confirmed by the site owner, install the snippet, add the six hidden fields to each form, and test one tagged and one organic submission end to end. Once values are flowing consistently, build the channel, network, campaign and keyword reports and use them to move budget toward the sources that produce customers.