Track YouTube Ads Leads in Gravity Forms
YouTube advertising can bring new audiences to a business, but clicks alone do not show whether those visits become enquiries, customers or revenue. A practical setup tags each ad destination, stores the campaign details on the visitor's form submission, and then reports from that stored data in Gravity Forms or a connected CRM.
1. Tag every YouTube ad destination with UTM parameters
Use a consistent naming pattern before launch. The medium identifies paid social, the source identifies YouTube, the campaign names the campaign, and the term names the individual ad. Apply the same values to every destination URL so later reporting groups entries correctly.
Checklist before publishing:
- Confirm each ad URL carries the medium, source, campaign and term values.
- Keep spelling and capitalisation consistent across campaigns.
- Test a tagged URL and submit a test form to confirm the values arrive.
2. Add hidden fields to your Gravity Forms
Add hidden fields to each lead-capture form, including newsletter, giveaway and contact forms. In Gravity Forms, drag a Hidden field type into the form for each item below:
- Channel
- Channel Drilldown 1
- Channel Drilldown 2
- Channel Drilldown 3
- Landing Page
- Landing Page Group
Hidden fields keep the form clean for visitors while allowing attribution values to travel with the submission.
3. Let the attribution tool fill the hidden fields
An attribution tool reads the tagged visit, stores the UTM values in the browser, and fills the hidden fields when the visitor submits a form. Storage matters because a visitor may browse several pages, leave, and return later; the original campaign values can still be passed through at submission.
Worked example: a marketing coordinator at a law firm sends YouTube traffic to a free-consultation page. A submission from that visit could be stored as Channel = Paid social, Channel Drilldown 1 = youtube, Channel Drilldown 2 = new client campaign, and Channel Drilldown 3 = free legal consult ad. The tool also records the first landing page and the group it belongs to, such as services, so content-level performance can be reviewed alongside campaign performance.
4. Review, email or sync the captured data
On submission, Gravity Forms stores the attribution values together with the lead's name, email, company and other entered details. Review entries in the Entries section, include the fields in a lead notification email, or send them to a CRM such as Salesforce, Pipedrive or HubSpot for reporting on leads, customers and revenue by ad.
Why form-level attribution matters
Ad-platform conversion data can be incomplete after privacy changes, including iOS 14, so a completed form may not register as a conversion in the ad platform. Analytics tools focused on website visits also do not by themselves show whether an enquiry became a paying customer after an offline call or email exchange. Capturing attribution at form submission and carrying it into a CRM closes that gap and gives a clearer basis for return-on-investment decisions.
Three reports to build from the stored data
Leads by channel: compare YouTube with other sources month by month, including other paid social platforms and organic search, then adjust strategy and budget based on the comparison.
Customers by campaign: count paying customers per month for each YouTube campaign. Shift more funding toward campaigns that produce customers, not only visits, to work toward a lower customer acquisition cost.
Revenue by ad: total the revenue linked to each ad to judge return on investment and decide which ads to keep running or switch off.