Matching CRM contacts to ads by email, phone and click ID

Updated · 7 min read

Short answer

Match CRM contacts to ads with a ranked set of join keys: platform lead ID first, then a stored click ID or ad ID from UTMs, then normalized email, then normalized phone. Stop at the first key that matches, log conflicts, apply a lookback limit, and report unmatched contacts as their own row instead of spreading them across campaigns.

A CRM contact and an ad click live in different systems that were never designed to talk to each other. Joining them is a data problem with a few specific traps: keys that were never captured, phone numbers written six different ways, and a stubborn group of contacts that match nothing at all. This post sets out the order to try each key, the cleaning each one needs, and a defensible way to report what is left over.

What you are actually joining

Ad platforms do not hand you a list of the people who clicked. You get aggregate reports, plus a few places where an identifier is attached to an individual lead:

On the other side is the CRM contact, with whatever fields your forms and integrations wrote to it. Matching means finding a shared value between the two. If nothing was captured at the moment of conversion, no amount of clever joining later will recover it. That is the first lesson: matching is decided at capture time, and the cleanup only works on what got stored.

Ranking the join keys

Not all keys are equally trustworthy. Use them in a fixed order and stop at the first match.

Rank Key Where it comes from Why it ranks here
1 Platform lead ID Native lead form export or sync Created by the platform for that exact submission and tied to the ad
2 Ad ID in UTM, or stored click ID Hidden fields filled from the landing page URL Exact to the click, but lost when redirects or in-app browsers strip parameters
3 Email Form field on both sides Stable, but people use work and personal addresses interchangeably
4 Phone Form field on both sides Formats vary wildly and numbers are shared within households and offices

On rank 2, be clear about what each click ID gives you. A gclid can be resolved back to a Google Ads click and used in offline conversion uploads. An fbclid is mainly useful to Meta's own matching; you cannot look it up yourself to find the ad. For Meta, put the ad ID into a UTM using dynamic parameters, as described in setting up dynamic UTM parameters. For more on what each identifier is and how long it lasts, see click IDs explained.

Normalizing email and phone before the join

Most failed matches on email and phone are formatting, not missing data. Clean both sides with the same rules before comparing anything.

Email

  1. Trim leading and trailing spaces.
  2. Lowercase the whole address.
  3. Strip anything that is not part of the address, such as a stray "mailto:" or angle brackets from a copied signature.
  4. Keep this as your primary email key.
  5. Optionally build a second key for Gmail addresses only: remove dots from the local part and drop anything after a "+". Gmail treats these as the same inbox; most other providers do not, so never apply this rule to every domain.

Phone

  1. Remove every character that is not a digit or a leading "+".
  2. If the number starts with a single "0" and has no country code, replace the "0" with your default country code. For the UK, "07700 900123" becomes +447700900123.
  3. Watch for the "(0)" trap. "+44 (0)7700 900123" turns into 4407700900123 if you just strip non-digits. Remove a "0" that directly follows the country code.
  4. Store the result in E.164 format and compare that string.
  5. If your leads span several countries, pick the default country per contact from their address or form country, not a single global default.

If you send data back to ad platforms as hashed values, these steps matter twice. The platforms ask for normalized values hashed with SHA-256, and a hash of " Jane@Example.com" will never match a hash of "jane@example.com".

Worked example: a Glasgow sales training consultancy

Say a sales training consultancy in Glasgow runs Meta and LinkedIn campaigns for a quarter and ends up with 180 new contacts in its CRM. It runs the matching in rank order.

That gives 64 + 41 + 9 + 5 = 119 matched contacts, a match rate of 119 ÷ 180, or about 66%. The remaining 61 match nothing.

The phone step shows why normalization is not optional: four of the five phone matches existed the whole time and were invisible until the formats agreed.

Rules for conflicts and stale matches

Two situations need a rule written down before you run the join, so nobody adjusts the logic after seeing the results.

Conflicting keys. A contact's stored ad ID points to one ad, but their email matches a lead form submission from a different ad. Take the higher-ranked key and record the conflict in a separate column. If conflicts exceed a few percent of matches, something upstream is writing the wrong values, often a form that keeps old UTM values in hidden fields.

Stale matches. An email that matches a lead form entry from fourteen months ago is a match, but it probably says little about this quarter's ads. Set a lookback, for example 90 days between the ad interaction and contact creation, and treat anything older as unmatched for this report. Pick a lookback that fits your sales cycle and keep it fixed.

What to do with contacts that match nothing

The 61 unmatched contacts in the example are a mix of three groups:

  1. Not from paid ads at all. Referrals, events, organic search, people who heard a podcast.
  2. From paid ads, but the identifier was lost. The click came through an in-app browser that dropped parameters, the person switched devices, or a redirect stripped the URL. Redirects are a frequent culprit.
  3. Created by hand or by import. List uploads, business cards, contacts a rep added without a source.

Resist the temptation to distribute unmatched contacts across campaigns in proportion to the matched ones. That assumes the lost contacts behave like the found ones, which you cannot check. Report them as a separate "unmatched" row with their own counts and outcomes.

You can shrink that row honestly. Add a "How did you hear about us?" field to forms and code the answers; it often sorts group 1 from group 2. Check the creation method on group 3 contacts and fix the processes that create sourceless records. Some tools fill the gap with probabilistic matching on device and IP signals; the trade-offs are covered in probabilistic vs deterministic matching. Whatever you do, keep inferred matches labeled separately from exact ones.

Track the match rate itself month to month. A sudden drop is usually a broken hidden field or a new redirect, and it is far cheaper to catch in a week than in a quarterly review.

FAQ

What match rate should I expect between CRM contacts and ads?

There is no standard figure, because it depends on how much non-paid demand you have and how well you capture identifiers. Use your own rate as a baseline and investigate any month where it drops sharply.

Can I match on name when email and phone are missing?

Avoid it as an automatic rule. Names collide, are spelled inconsistently and change. Use name only as a manual tiebreaker when a person is reviewing a specific uncertain record.

Should I overwrite the contact's source once a match is found?

No. Write the match result into separate fields, such as matched ad ID and match method, so the original captured values stay intact and you can rerun the join with different rules later.

Do I need to normalize data that came from a native lead form?

Yes. Lead form fields are typed by people, so they carry the same spacing, casing and phone format problems as your website forms.

See your own numbers with the source attached

Adtrix connects Meta and Google Ads read-only, shows each ad next to its spend and reported results, and keeps CRM leads and booked calls in their own lane.

Start a 14-day trial See pricing