Skip to content

Track YouTube Ads Leads in WPForms: UTMs, Hidden Fields and Reports

You can connect a YouTube Ads click to a WPForms submission by tagging the ad destination, adding attribution fields to the form, and storing the resulting values with each entry. The setup below shows the field map, a worked example, and three reports for deciding where to spend more or less.

How the attribution flow works

A form submission tells you who contacted you, but not necessarily which ad brought them in. Attribution fields solve that by travelling with the entry. When a visitor arrives through a tagged YouTube Ads link, the attribution tool records the channel hierarchy and landing page, then writes those values into hidden fields when the form is completed. WPForms stores them beside the name, email or phone number the visitor entered, so the entry becomes both a lead record and a marketing record.

Use this checklist before testing:

  • Tag every YouTube Ads destination URL, not just the campaign landing page.
  • Use one naming convention for medium, source, campaign and term across all ads.
  • Add all six hidden fields to each lead-capture form you want to measure.
  • Submit a test form from a tagged link and confirm every field is populated.
  • Check the entry in WPForms, then confirm the same values appear in any email notification or CRM record you plan to use.
  • Keep the landing-page group consistent so page-level results can be compared over time.

Step 1: Tag the ad and Step 2: Add the hidden fields

UTM parameters are short values appended to a URL that identify the campaign context. For YouTube Ads, use a repeatable pattern: medium identifies the paid social channel type, source identifies YouTube, campaign carries the campaign name, and term carries the ad name. That separation matters because each value becomes a different level in later reporting.

For example, a destination for a WPForms integration page could be tagged as follows: utm_medium=paidsocial, utm_source=youtube, utm_campaign=brand-campaign. Replace brand-campaign with the actual campaign name and add the ad name as the term value. Avoid free-text variations for the same campaign, because small spelling differences will split one campaign into several report rows.

Field map for the form:

  • Channel: the broad channel, such as Paid social
  • Channel Drilldown 1: the source, such as youtube
  • Channel Drilldown 2: the campaign name
  • Channel Drilldown 3: the ad name
  • Landing Page: the first page URL the visitor reached
  • Landing Page Group: the category of that page, such as bookings

In WPForms, add these as Hidden Field items by dragging that field type into the form. Hidden fields are not filled in by the visitor; they are populated from the visit context and submitted with the entry.

Worked example: from ad click to submitted entry

Consider a carpet-cleaning company running a YouTube ad that sends people to a booking page. The visitor clicks the ad, browses the site, and later completes a booking form. Because the UTM values are stored in a browser cookie, the attribution data can still be written into the hidden fields at submission time even though the form was not completed on the first page.

In that example, the submitted entry would carry Channel as Paid social, Channel Drilldown 1 as youtube, Channel Drilldown 2 as new client campaign, and Channel Drilldown 3 as make a booking ad. The landing page and its group would also be recorded, showing that the visitor first arrived at the booking page rather than a general homepage.

That distinction is the practical value of the setup. Without it, the business knows a booking request arrived but cannot tell which campaign or ad produced it. With it, the same entry can be counted in campaign and ad reporting, and the landing page can be checked if a particular page is generating higher-quality leads.

Step 3 and Step 4: Capture the data and report on it

After submission, the captured values can be reviewed in the WPForms Entries section by opening the relevant form in Forms Overview and selecting Entries. They can also be included in the lead notification email so the recipient sees the originating channel immediately, or sent to a CRM such as Salesforce, Pipedrive or HubSpot for longer-term reporting.

Three reports are especially useful once the fields are flowing:

  • Leads by channel: count leads each month by channel, such as Organic Search, Paid Search and Paid Social, to see which channels deserve more budget.
  • Customers by campaign: count customers per YouTube Ads campaign each month to identify campaigns to expand, maintain or pause.
  • Revenue by ad: total revenue per ad to find the most profitable creative and stop spending on ads that do not produce valuable outcomes.

These reports answer different decisions. Leads by channel guides budget allocation, customers by campaign guides campaign management, and revenue by ad guides creative-level investment. Together they move reporting beyond clicks and form fills toward the outcomes that matter.

Why form-level attribution fills the reporting gap

Google Ads conversion data can miss form completions, particularly following privacy changes such as those associated with iOS 14, leaving gaps in YouTube Ads reporting. Google Analytics is designed around website visits and works well for many online businesses, but it may not give a complete picture when leads convert offline or when customer and revenue outcomes happen after the form submission.

Form-level attribution addresses both gaps. It records the source of every lead, not only YouTube Ads leads, stores UTM data in a cookie so later form submissions can still be traced to the original ad, and captures the landing page and its group for each lead. That makes it possible to prove return on ad spend using leads, customers and revenue rather than relying only on platform-reported conversions.

Before scaling spend, run a final check: submit test entries from each campaign and ad, confirm the channel drilldowns and landing page match the tagged URL, and verify that the values survive in WPForms, email notifications and your CRM. If any field is blank, fix the tagging or hidden-field setup before judging campaign performance.

Frequently asked questions

What is the basic setup for capturing YouTube Ads attribution in WPForms?

Add UTM parameters to the destination URL, place hidden attribution fields in the form, let the attribution tool populate those fields from the visit, and submit the form so the values are stored with the contact details.

Which UTM values should I use for YouTube Ads?

The recommended pattern uses paidsocial for medium, youtube for source, the campaign name for campaign, and the ad name for term. Consistent values make later grouping by campaign and ad possible.

Which hidden fields are needed?

Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page, and Landing Page Group. Together they preserve the channel hierarchy and the first page the visitor reached.

Where can the captured data be used after submission?

Review entries in WPForms, include the fields in a lead notification email, or send them to a CRM for reporting on leads, customers, and revenue by campaign or ad.

Why is platform reporting alone not enough?

Platform conversion counts can miss form completions, particularly after privacy changes, and standard web analytics may not connect offline lead outcomes to the originating ad. Form-level attribution closes that gap.