See the Google Ads campaign and keyword of every lead

Google Ads shows you clicks, costs and conversions per campaign and keyword. Your inbox shows you enquiries. What is missing is the link between the two: this enquiry came from this campaign, through this keyword. Without it you cannot tell whether the keyword that brings ten form submissions a week brings any customers, or only people asking for things you do not sell.

Video: which Google Ads keyword brought this lead?
Watch the 90-second video on YouTube

This guide shows how to make Google Ads pass the campaign and the keyword to your WordPress site, and how to save them with every lead.

Step 1: turn on auto-tagging

In Google Ads, open Admin → Account settings → Auto-tagging and make sure it is on. Google then adds a gclid parameter to every ad click. The gclid identifies the click, and it is what you need later to tell Google Ads which clicks became customers.

Step 2: add a final URL suffix with ValueTrack parameters

The gclid alone does not tell your website the campaign or keyword. For that, add UTM parameters with ValueTrack placeholders, which Google fills in at the time of the click.

In Google Ads, open Admin → Account settings → Tracking and enter this as the Final URL suffix:

utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}
  • {keyword} becomes the keyword from your account that matched the search.
  • {campaignid} and {creative} become the IDs of the campaign and the ad. Google Ads has no ValueTrack placeholder for the campaign name, so if you want readable names, set utm_campaign per campaign in the campaign’s own URL options instead, for example utm_campaign=kitchens-hamburg.

A click on your ad then lands on an address like:

https://example.com/kitchens/?utm_source=google&utm_medium=cpc&utm_campaign=kitchens-hamburg&utm_term=fitted+kitchen&utm_content=6789&gclid=Cj0KCQ...

Two things to know:

  • {keyword} is the keyword you bid on, not the exact search term the person typed. Google does not pass search terms to websites; you see those only in the search terms report in Google Ads.
  • Performance Max and other campaigns without keywords leave {keyword} empty. The campaign and the gclid are still there.

Step 3: save the parameters with every lead

Now the information is in the address of the landing page. The hard part is getting it into the enquiry, because most people do not send a form on the page where they land. They read, compare, maybe leave and come back the next day.

You can add hidden fields to each form that read the URL parameters; our guides for Contact Form 7, WPForms, Elementor and Gravity Forms show how. They only work when the form is sent on the landing page in the same visit.

The more reliable way is a plugin that remembers the parameters for the whole visit, and across visits. Dealroot is free and works with 25 form plugins and page builders:

  1. Install and activate Dealroot under Plugins → Add Plugin.
  2. Open Leads → Forms, click Scan site and check that your enquiry forms are ticked.
  3. Open your site through an address with the parameters above and send a test enquiry.

Under Leads → All leads, each lead now shows the channel (paid search), source, campaign, keyword and gclid, together with the landing page and the pages the person saw before writing. Leads → Reports groups the enquiries by campaign and keyword.

Step 4: tell Google Ads which leads became customers

Once you know which lead came from which click, you can go one step further and report sales back to Google Ads. Mark a lead as won in Dealroot and enter its value; the gclid ties the sale to the ad click. Upload the export under Goals → Conversions → Uploads in Google Ads, or let Dealroot Pro send it automatically. Google’s bidding then optimises for customers and revenue, not only for form submissions.

Summary

Auto-tagging plus a Final URL suffix with {keyword} and a campaign name gives your website everything it needs to know about each ad click. Save it with every enquiry, and you can see, per campaign and keyword, how many leads and how many customers your budget brings.

See which ads pay for themselves.

Install the free plugin today. When you want your ads to learn from your sales, upgrade in a minute and keep every lead you collected.

Choose a plan Get the free plugin