How Do You Assign Lead Sources to PPC Leads?
The paid search agency’s report counts last month’s leads from its ads, while the CRM files the same people under “Web”, “Google”, “Paid Search” or nothing at all, because each form, each salesperson and last year’s list import fill in the field their own way. Until every lead from an ad arrives with the same source, set without anyone having to choose it, nobody can say what the ads earned in signed revenue, so how do you assign lead sources to PPC leads?
Assign lead sources to PPC leads automatically: save the ad’s click ID and UTM tags in hidden form fields, have your CRM mark every lead carrying them as Paid Search, and lock that first source, with campaign and keyword in fields of their own.
The sections below answer what comes next: which fields to create, how to get the campaign and keyword out of the ad platforms, what HubSpot and Salesforce do on their own, and the leads the rule still gets wrong.
What Lead Source Should You Give a PPC Lead?
Give every PPC lead the same channel value, such as “Paid Search”, in your main lead source field, and put the platform, campaign, keyword and click ID in separate fields beside it. A lead source field that holds campaign names can’t be compared with your other channels, and one that holds only “Google” can’t tell an ad click from an organic search.
In Salesforce, the standard Lead Source field is a picklist of values an administrator sets, such as Advertisement, Partner and Web.1 We keep that list to the channels you would move budget between, filled by a rule rather than typed by a rep, and give the detail its own fields:
The fields we’d give every PPC lead in the CRM
| Field | What it holds | Where the value comes from |
|---|---|---|
| Lead source | The channel, such as Paid Search | A rule in the CRM |
| Platform | Google Ads or Microsoft Advertising | The click ID the visit carried, or utm_source |
| Campaign | The campaign that brought the click | utm_campaign |
| Keyword | The keyword you bid on that matched the search | utm_term |
| Click ID | The ad click’s own identifier | The gclid, gbraid, wbraid or msclkid in the landing page address |
| Brand or non-brand | Whether the click came from a campaign on your own name | Your campaign names |
| How they heard about you | The buyer’s own answer | The form and the first call |
The brand flag matters because an ad on your own name often catches a buyer who already knew you, as what brand bidding is explains, and how accurate self-reported lead source is covers the last row. Together these fields are the paid search part of the source of truth that the Channel Selection step of our ProfitPaths® method sets up.
How Do You Get the Campaign and Keyword From a PPC Click Into Your CRM?
Keep auto-tagging on so every Google Ads click carries a click ID, add UTM tags that name the campaign and keyword to the landing page address, and capture both in hidden form fields that write to the CRM. Setting the tags once at account level, rather than by hand on each ad, means every new campaign inherits them.
- Leave auto-tagging on in Google Ads. It adds a Google Click Identifier (gclid) to the address of the page the visitor lands on, and Google says it’s needed to import conversion data from a CRM.2 Google’s developer documentation also lists gbraid and wbraid as click identifiers captured from the landing page address, so capture all three.3
- Add UTM tags at account level, with ValueTrack parameters for the details. Google’s final URL suffix attaches parameters to the end of the landing page address and can be set for the whole account or for single campaigns, ad groups, ads and keywords.4 ValueTrack parameters are placeholders Google fills in at the click, such as {campaignid} for the campaign’s ID and {keyword} for the keyword in your account that matched the search.5 We set utm_source to google, utm_medium to cpc, utm_campaign to {campaignid} and utm_term to {keyword}, with a lookup from campaign IDs to names in the CRM.
- Do the same in Microsoft Advertising, which adds its own click ID, the MSCLKID, by default,6 with utm_source set to bing.
- Capture the tags and click IDs in hidden form fields, kept from the first page the visitor lands on until they fill in a form, using the steps in does UTM tracking get blocked by ad blockers; the forms themselves are part of the Prospect-to-Lead Conversion step.
- Write the rule in the CRM: when a new lead arrives with a click ID, or with a utm_medium of cpc, ppc or paid from a search engine, set the lead source to Paid Search and the platform to match, but only if the lead source is still blank.
- Give phone leads from ads the same fields with call tracking that writes the source onto the lead.
- Test every form before you trust it by opening each landing page with test tags in its address, submitting the form, and checking that every field reached the CRM, on a computer and on a phone.
The keyword field holds the keyword you bid on rather than the words the person typed, and stays blank when the ad matched without a keyword, as in AI Max for Search, Dynamic Search Ads and Performance Max,5 so judge those campaigns’ leads by campaign. Google’s search terms report shows typed searches only in aggregate,7 so no report tells you what one lead typed.
Does HubSpot or Salesforce Assign the PPC Lead Source for You?
HubSpot assigns a paid search source on its own, from the click ID or UTM tags on the first page it saw a contact visit, while Salesforce’s Lead Source field holds whatever your form tool, an automation or a person puts in it. In both, check what the built-in logic does before you add your own rule.
HubSpot checks the address of the first page it saw, and the referring domain, against an ordered list of rules, and calls a visit Paid Search when it carries a valid Google click ID or when utm_source, utm_medium or utm_campaign contains “adword”, “ppc” or “cpc”.8 Records created by import, integration, the API or by hand go to its catch-all, Offline sources,8 which is where a caller typed in by a salesperson ends up. The published rules name Google’s click ID and not Microsoft’s, so we’d give Microsoft ads a utm_medium of cpc.
Salesforce leaves Lead Source to whatever a web form, an integration, an automation or a person puts in it. When sales converts the lead, the standard Lead Source copies to the opportunity, while custom fields such as campaign and keyword copy only if an admin maps them,9 a hand-off that how to set up closed-loop reporting covers.
Google Analytics will file some of the same leads differently, since its default channel groups put Google Ads Search campaigns under Paid Search and Performance Max under a separate Cross-network channel,10 while HubSpot calls any visit with a valid gclid paid search. Decide which campaigns your company counts as paid search, write it down, and make the CRM rule match.
How Do You Trace PPC Leads Through to Revenue?
Trace PPC leads to revenue by reporting on the source as it sits on the opportunity and the signed deal, and counting each paid search stage in your own records: leads, qualified opportunities, customers, revenue and gross profit. With the source set the same way on every record, that report becomes a filter rather than a research project.
Take the commercial HVAC contractor with about forty million dollars in annual revenue that we follow across this site, which sells maintenance agreements to property management firms and runs Google search ads to a page offering a free five-year HVAC replacement forecast for one building.
ExampleWhat one quarter of Google search leads became, counted in the contractor’s CRM
The contractor’s CRM records where each agreement came from, so its Google search leads can be followed from the form to the signed agreement.
- Google search spend in the quarter
- $18,000
- Leads
- 72
- Site visits booked
- 27
- Agreements signed
- 9
- Ad spend per agreement
- $2,000
- Lifetime gross profit per agreement (firms average 2 buildings)
- $61,840
The $2,000 is ad spend only, so a fully loaded cost per agreement would be higher, and the 9 counts the agreements left after two buyers’ intake answers moved them to the building owners’ association, since the click-based lead source alone put 11 on Google search, as Channel Selection shows.
With campaign and keyword on each record, the same report breaks down by campaign, the level where budget gets moved, without relying on Google’s own conversion count, a gap how to measure digital marketing ROI works through. The click ID also lets you send qualified opportunities and signed deals back to Google Ads through offline conversion tracking, so the platform learns from customers instead of form fills.
Why Do PPC Leads End Up With the Wrong Lead Source?
PPC leads end up with the wrong source when the tags never reach the form, when a later visit overwrites the first, or when the lead enters the CRM by a route the rule doesn’t watch. A monthly check of the records shows each of these.
- Redirects and outside forms. A redirect from an old address, or a scheduling tool or form hosted on another domain, can drop the address’s parameters before the hidden fields read them, which the test in step 7 catches.
- A later visit overwrites the first. If the fields rewrite on every form fill, a buyer who clicked an ad and came back through a search for your name is recorded as organic, so lock the lead source at its first value and keep a separate latest-source field, which also credits the ad that brings back someone who first downloaded a guide years ago.
- Leads entered by hand. A caller typed in by a salesperson never passes through the form rule, so route calls through call tracking and make the source required on any lead created by hand.
- Consent. Click IDs and form data stored against a person are personal data in many places, and Google’s setup guide reminds advertisers to follow local cookie consent rules.11
Where to Start With Last Month’s Paid Search Leads
Pull last month’s leads from the CRM and sort them into three groups: a click ID and a lead source of Paid Search, a click ID and some other source, and no click ID although sales believes an ad brought them, because the second and third groups show which setup step to fix first. The Channel Selection step shows how these fields fit into a source of truth you control, and how to judge each channel on the customers it brings in.
Related questions
- How Long Does SEO Take to Work?
- Is There a Difference Between a CRM and Marketing Automation?
- How Do You Set Up Closed-Loop Reporting for Marketing and Lead Generation?
- Is PPC Good for B2B Services?
- How Much Pipeline Do Account Executives Generate?
- Are LinkedIn Ad Clicks All Bots?
- How Do You Increase Conversions in LinkedIn Ads?
- How Much Does It Cost to Implement a CRM System?
Sources cited
- SalesforceLead Fields (Salesforce Help) (opens in a new tab)November 2, 2026
- GoogleAbout auto-tagging (Google Ads Help) (opens in a new tab)November 2, 2026
- GoogleUpload offline conversions, click identifiers (Google Ads API documentation) (opens in a new tab)November 2, 2026
- GoogleAdd a Final URL suffix (Google Ads Help) (opens in a new tab)November 2, 2026
- GoogleSet up tracking with ValueTrack parameters (Google Ads Help) (opens in a new tab)November 2, 2026
- MicrosoftAuto-tagging of Microsoft Click ID (Microsoft Advertising Help) (opens in a new tab)November 2, 2026
- GoogleAbout the search terms report (Google Ads Help) (opens in a new tab)October 12, 2026
- HubSpotUnderstand HubSpot's traffic sources in the web traffic analysis tool (HubSpot Knowledge Base) (opens in a new tab)August 1, 2026
- SalesforceLead Conversion Field Mapping (Salesforce Help) (opens in a new tab)October 12, 2026
- Google[GA4] Default channel group (Analytics Help) (opens in a new tab)November 2, 2026
- Google Ads HelpSet up offline conversions using Google click ID (GCLID) (opens in a new tab)October 12, 2026