Skip to content

Capture Google Ads data in WP Forms

Visitor and lead counts alone can point budget in the wrong direction. This guide shows how to attach campaign origin to every WP Forms submission, then follow that lead through to customers and revenue so spend decisions reflect outcomes, not just clicks.

Why leads alone are not enough

Consider a pool equipment business advertising separately for pumps and cleaners. With only spend, visitors and goal completions, the pump campaign looks stronger: equal spend, more visits and more leads. That view can justify shifting budget toward pumps. Extend the same example to customers and revenue and the picture reverses. Cleaners produce more customers, a higher lead-to-customer rate, higher value per customer, lower cost per customer and stronger return on ad spend. The lesson is practical: judge campaigns by downstream outcomes, and make sure each form lead carries its campaign origin so those outcomes can be joined later.

Four steps to capture the data

First, append UTM parameters to campaign URLs. They are extra text added after the destination address. A consistent convention helps reporting: medium for paid search, source for Google, campaign for the campaign name, term for the ad group and content for the specific ad. Free URL builders can help assemble them. Second, add hidden fields to each lead form for Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. In WP Forms this is done by dragging in a Hidden field type. Third, the capture tool reads the stored UTM values and writes them into those fields when the form is submitted. A paid-search brand visit, for example, could populate Channel as Paid Search, Drilldown 1 as Google, Drilldown 2 as the brand campaign and Drilldown 3 as the ad, alongside the first landing page and its group. Fourth, at submission the hidden values are captured together with the visitor's name, email, company and phone. From there they can appear in notification emails, flow to a CRM, or feed campaign reporting.

What good capture should also do

A useful capture setup does more than record Google Ads. It should also identify other lead sources such as organic search, organic social and paid social, so reporting covers all leads rather than one channel. It should remember UTM values across browsing: many simple methods fail when a visitor lands from an ad, clicks through to a quote page and submits there, because the parameters are absent from that later URL. Storing them in a cookie preserves them until submission. It should also clean the data. Raw UTM values often vary in capitalisation and naming, creating several apparent sources for the same traffic; normalising them into a single channel prevents manual merging. Finally, recording the landing page and its group lets you assess content sections, such as a blog as a whole and individual posts, by the leads, customers and revenue they generate.

Pre-launch checklist

Use this checklist before relying on campaign reports: confirm every Google Ads URL carries the five UTM parameters using one naming convention; confirm each WP Forms form contains all six hidden fields; submit a test lead from a tagged URL and verify the channel, drilldowns and landing page values; submit another lead after navigating to a different page and confirm the values persist; check that inconsistent source spellings still map to one channel; and confirm the captured fields reach email notifications, the CRM or reporting destination you intend to use. If any check fails, fix tagging or field mapping before drawing budget conclusions.

Same spend, different downstream value
MeasurePool Pumps CampaignPool Cleaners Campaign
Spend$2,000$2,000
Visitors200100
Leads2010
Customers25
Revenue$8,000$25,000

Illustrative example figures from captured evidence; not current verified results.

Frequently asked questions

What setup is needed to capture Google Ads data in WP Forms?

Add UTM parameters to the ad URL, add hidden fields for Channel, Channel Drilldown 1-3, Landing Page and Landing Page Group to the form, then let the capture tool populate those fields at submission so the values travel with the lead details.

Will attribution still work if a visitor submits a form on a different page from their landing page?

Yes. Storing the UTM values in a browser cookie means they remain available even if the visitor browses to another page before submitting, rather than only working when parameters are present on the submission page.

Why not capture raw UTM parameters directly?

Raw values can create duplicate sources, for example Google.com, google and adwords. Normalising them into a consistent channel such as Paid Search avoids manual stitching when reporting.

What can you do with the captured form data?

Captured data can be included in lead notification emails, sent to a CRM such as Salesforce, Pipedrive or HubSpot, or used in reports on which campaigns generate leads, customers and revenue.

Pool Pumps CampaignPool Cleaners Campaign
Spend$2,000$2,000
Visitors200100
Goal Completions2010
Pool Pumps CampaignPool Cleaners Campaign
Spend$2,000$2,000
Visitors200100
Leads2010
Customers25
Revenue$8,000$25,000