Skip to content

Capture Google Analytics data in Forminator

Google Analytics shows visitor behaviour, but on its own it does not connect a form submission to the channel, campaign and landing page that produced it. Capturing that context at the moment a lead submits a Forminator form — and sending it onward to a CRM or spreadsheet — closes the gap between traffic reporting and lead reporting.

Capture Google Analytics data in Forminator

Google Analytics helps explain where visitors come from and how they behave on a site. It is weaker at answering a commercial question: which channel or campaign actually produced a named lead, opportunity or customer?

The fix is to attach attribution context to the form record itself. When a visitor arrives, the originating channel is identified and stored. When that visitor later submits a form, the stored context is written into the form and saved alongside the details the visitor entered. The submission can then be viewed in Forminator and forwarded through a native integration or a tool such as Zapier to a CRM or spreadsheet for reporting.

Use this checklist before you start:

  • Confirm the attribution snippet is installed on the site.
  • Confirm every lead-capture form you care about has the hidden fields listed below.
  • Submit a test form after arriving from a known campaign link and check the saved entry.
  • Confirm the forwarded CRM record contains the same fields, not only the visitor's name and email.
  • Build one report first — leads by channel — before adding more complex breakdowns.

What gets captured

Two groups of data are passed with each submission.

Marketing channel data: the channel that originally brought the lead to the site, such as Paid Search, Organic Search or Paid Social, plus drill-down detail. For Paid Search that detail can include campaign, ad group and keyword level information.

Landing page data: the first page the lead saw, plus the group or category that page belongs to. That makes it possible to compare whole sections of a site, such as a blog, and also to see individual pages or posts that generate the most leads.

Hidden fields to add to Forminator

Add these fields to the form so the attribution values have somewhere to land on submission:

  • Channel
  • Channel Drilldown 1
  • Channel Drilldown 2
  • Channel Drilldown 3
  • Landing Page
  • Landing Page Group

Forminator supports hidden fields, so visitors do not need to fill these in manually.

How the flow works

  1. Install the attribution code on the site, following the provider's WordPress installation instructions.
  2. Add the hidden fields above to each relevant Forminator form.
  3. On arrival, the tool examines where the visitor came from and stores that information in a cookie.
  4. On form submission, the tool writes the stored values into the hidden fields.
  5. Forminator saves those values with the rest of the entry, visible in the Entries section of the WordPress dashboard.
  6. Send the entry to your CRM or spreadsheet and report on the attribution fields.

Worked example

Imagine a visitor clicks a Google Ads link and later submits a contact form. The hidden fields would be completed in a form like this:

  • Channel: Paid Search
  • Channel Drilldown 1: Google
  • Channel Drilldown 2: Brand Campaign
  • Channel Drilldown 3: Olmo Software
  • Landing Page: the first page visited, for example a features page
  • Landing Page Group: the section that page belongs to, for example Features

That single entry now answers more than who contacted you. It shows which network, campaign and landing section were involved.

Reports you can build once the data is in your CRM

Leads by Channel: count leads per month by channel to see which channels are working and where further investment may be justified. A mismatch — for example, most leads from Organic Search while most spend goes to Paid Search — is a prompt to review strategy.

Opportunities by Google Ads campaign: count sales opportunities by campaign to distinguish campaigns that generate volume from campaigns that generate genuine sales pipeline.

Customers by Facebook Ads Network: where ads run across Facebook, Instagram, Messenger and other networks in the same family, count customers by network to see which placement is performing best and refine targeting accordingly.

Revenue from Organic Search by search engine: total revenue attributed to organic search, broken down by search engine, and compare it with Paid Search, Paid Social and other channels before deciding how much more to invest in SEO.

Questions this setup helps answer

  • How many leads came from Google Ads?
  • Which Google Ads campaign produced the most leads?
  • How many customers came from Facebook campaigns?
  • How much revenue came from SEO efforts?

In short: Analytics alone describes traffic. Attribution fields on the form connect that traffic to the lead record, so reporting can follow the lead through to opportunity, customer and revenue.