Skip to content

Capture Google Analytics data in Wix Forms in four steps

Google Analytics shows how visitors arrive, but not which arrivals become leads. Capturing channel and landing page values on each Wix form submission connects a lead's name and contact details to the marketing source that brought that visitor to the site.

Why form-level attribution matters

Analytics can tell you that traffic came from Paid Search or Organic Search. That alone does not show whether those visits produced enquiries. Storing attribution values with each form submission closes that gap: every lead carries the channel, drilldown detail and landing page that preceded it.

How the capture works

A small attribution script on the site reads where a visitor came from, groups it into familiar channels such as Paid Search, Paid Social and Organic Search, and writes the result into hidden form fields at submission time. Visitors do not see those fields, and the values are saved alongside the details the lead typed in, such as name, email or phone.

The four-step workflow

Step 1: Add six hidden fields to each form: Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. Step 2: Let the attribution script populate them automatically when a visitor submits. Step 3: Wix Forms stores the populated values with the lead's own entries. Step 4: Use the stored values in the Wix dashboard, notification emails, a CRM or a spreadsheet, then build reports from them.

Worked example: a Paid Search brand visit

Consider a restaurant visitor who arrives through a Paid Search brand campaign. The form would record Channel as Paid Search, Drilldown 1 as Google, Drilldown 2 as Brand Campaign and Drilldown 3 as the business name, together with the landing page URL and its group. That combination lets you distinguish a brand search enquiry from a generic campaign enquiry, and see which page first attracted the visitor.

Checklist and common failure to avoid

Use this checklist before relying on reports: confirm all six hidden fields exist on every form you care about; submit a test form from a known campaign link and check each field populated; verify the values appear in the Wix dashboard and in notification emails; confirm the same values arrive in your CRM or spreadsheet; only then compare channels, campaigns and networks. A common failure is treating Channel alone as enough detail — without the drilldowns and landing page group you cannot tell which campaign or page produced the lead.

Hidden fields to add to each Wix form
Hidden fieldWhat it recordsExample
ChannelHow the visitor discovered the sitePaid Search
Channel Drilldown 1First level of source detailGoogle
Channel Drilldown 2Second level of source detailBrand Campaign
Channel Drilldown 3Third level of source detailBusiness name
Landing PageFirst page viewed by the visitorDinner menu page URL
Landing Page GroupSummary group for that pageMenu

Field names and example values are taken from the captured workflow; confirm exact field labels in your own form before publishing.

Three useful reports once attribution data is stored
ReportQuestion it answersUse it to decide
Leads by ChannelWhich channels generate the most leads?Where to allocate budget and effort
Opportunities by Google Ads campaignWhich campaigns generate sales opportunities?Which campaigns to invest in further
Customers by Facebook Ads networkWhich social network produces customers?Where to focus social advertising budget

Report examples are illustrative; available dimensions depend on the CRM or spreadsheet you send data to.

Frequently asked questions

What do I need to add to a Wix form to capture attribution data?

Add hidden fields for Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. A visitor-attribution script then populates those fields when a form is submitted, so the values are stored with the lead's name, email and other entries.

Where can I see the captured channel and landing page data?

You can view the values in the Wix dashboard under Communications, add them to new-lead notification emails, or pass them to a CRM or spreadsheet. Once they are in a CRM or spreadsheet, you can report leads, opportunities or customers by channel, campaign or network.

What is the difference between Channel and Landing Page?

Channel describes how the visitor discovered the site, using categories such as Organic Search, Paid Search, Paid Social and Referral. Landing Page is the first page the visitor viewed, such as a features page, blog article or ebook page, and Landing Page Group summarises that page type.