Capture Google Ads Data in Gravity Forms and Trace It to Revenue
Form submissions alone do not show which advertising activity produced a customer. By tagging campaigns, storing the attribution values, and writing them into hidden form fields, each lead can carry its campaign, ad, landing page and landing-page group into notifications, a CRM, or reporting.
Why early metrics can point to the wrong campaign
Visitor and form-completion counts can make a campaign look successful while hiding what happens afterwards. Consider a pool-equipment business running two campaigns at the same spend. The Pool Pumps campaign brings 200 visitors and 20 leads; Pool Cleaners brings 100 visitors and 10 leads. On those early measures, Pool Pumps appears stronger.
Following the leads through to outcomes reverses the picture. Pool Pumps produces 2 customers and $8,000 in revenue, while Pool Cleaners produces 5 customers and $25,000. Pool Cleaners therefore has a 50% lead-to-customer rate compared with 10%, a $5,000 average customer value compared with $4,000, a $400 customer-acquisition cost compared with $1,000, and three times the return on ad spend. The lesson is to judge campaigns by customers and revenue, not only by traffic and form completions.
Four-step setup checklist
Work through these four steps in order:
- Tag every Google Ads destination URL with UTM parameters.
- Add hidden fields to the Gravity Forms form.
- Let the attribution tool populate those fields from the stored campaign values when the form is submitted.
- Use the submitted values in notifications, CRM records and campaign reporting.
UTM parameters are additional text appended to a destination URL. A consistent Google Ads convention is: medium for paid search, source for Google, campaign for the campaign name, term for the ad group, and content for the specific ad. For example, a campaign name, ad group and ad can each be recorded separately rather than collapsed into one campaign label.
Add these hidden fields to the form: Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. In Gravity Forms, a Hidden field can be dragged into the form for each value.
Worked example: from ad click to submitted lead
A Dropbox-style example shows how the fields should read for a visitor arriving from a brand campaign in paid search: Channel is Paid search, Drilldown 1 is Google, Drilldown 2 is Brand campaign, and Drilldown 3 is Free account ad. The first landing page might be a features page for cloud storage, with features as its landing-page group.
When the visitor submits the form, those attribution values are stored alongside the name, email, company, phone and other details entered in the form. The completed record can then be added to lead notifications, sent to a CRM such as Salesforce, Pipedrive or HubSpot, or used in reports showing which campaigns generate leads, customers and revenue.
What to check before relying on the data
Four distinctions matter when choosing an implementation:
- All traffic, not only paid search: organic search, paid social and organic social should be identifiable in the same reporting view, so a strong SEO contribution is not hidden behind Google Ads results.
- Persistence across pages: a visitor may click an ad, read a landing page, then move to a separate quote form. Storing attribution in a cookie preserves the original values even though the UTM parameters are absent from the form page.
- Cleaner reporting: inconsistent raw source values can split one source into several report rows. Normalising capitalisation and naming variants into a single channel keeps campaign totals accurate.
- Landing-page context: recording both the exact landing page and its group makes it possible to compare individual articles or pages with a whole section, such as a blog, by leads, customers and revenue.
Final verification
Before publishing the form, test a tagged ad URL, browse to a different page, submit the form, and confirm that the channel, drilldowns, landing page and landing-page group are all present. Then check that the same values appear in the notification or CRM record and that campaign reporting can be reconciled with customers and revenue. If a trial, discount or other promotional offer is mentioned anywhere on the site, verify its current terms directly with the provider before relying on it.
Frequently asked questions
Will UTM parameters still be captured if a visitor browses several pages before submitting?
No. If the form is on a later page, raw UTM values in the landing URL will not be present on the form page. Storing the attribution values in a browser cookie preserves them until submission, so the original campaign can still be recorded.
Why not capture raw UTM values directly?
Raw values can fragment reporting when the same source is written in different ways, such as different capitalisation or domain forms. Normalising those variants into one channel prevents the same traffic from appearing as several separate sources.
Should attribution cover only Google Ads?
Yes. Capture should cover organic search, paid social, organic social and other sources as well as paid search, so reporting does not show only the channels that were tagged.
| Pool Pumps Campaign | Pool Cleaners Campaign | |
|---|---|---|
| Spend | $2,000 | $2,000 |
| Visitors | 200 | 100 |
| Goal Completions | 20 | 10 |
| Pool Pumps Campaign | Pool Cleaners Campaign | |
|---|---|---|
| Spend | $2,000 | $2,000 |
| Visitors | 200 | 100 |
| Leads | 20 | 10 |
| Customers | 2 | 5 |
| Revenue | $8,000 | $25,000 |