How CRM lead merges break Google Ads offline imports

Offline conversions dropping in HubSpot or Salesforce? Native CRM integrations often lose the Google Ads click ID when duplicate leads are merged.

When a B2B prospect downloads a whitepaper in January, your CRM creates a contact record. When that same prospect clicks a Google Ad and requests a quote in May, the website captures the new Google Click ID (gclid) and sends it to your database. The CRM receives the new form submission, recognises the email address, and merges the new activity into the existing January contact.

In that split-second merge, native integrations often discard the May click ID because they are programmed to preserve the "original" lead source. The database keeps the old, empty field and deletes the new identifier. When the deal eventually closes, the offline conversion sync fails because the match key is gone.

We check exactly how your marketing stack handles duplicate records. If your offline conversion tracking relies entirely on a single field surviving a complex deduplication process, your revenue attribution will always under-report your paid search performance. Fixing this requires bypassing fragile native connectors and implementing a double-key upload strategy.

The mechanical fault in CRM data resolution

Platforms like HubSpot, Salesforce, and Pipedrive are built to maintain a single, clean view of a customer. When new information arrives for an existing contact, the CRM executes a set of resolution rules to decide which data to keep.

By default, many CRMs prioritise the first known value for acquisition properties. If the "Google Click ID" custom field was created when the contact first entered the system, but left blank because they arrived organically, the CRM locks that blank state. When the new ad click occurs months later, the system treats the incoming gclid as conflicting data and discards it.

Even if the CRM is configured to overwrite the field with the most recent value, the connection is still fragile. If a prospect changes companies or uses a different email alias, the sales team will often merge two distinct records manually. Why running auto-merge duplicates on a B2B CRM scrambles your accounts is a known issue, but it also destroys marketing attribution. The sales rep clicks "Merge", the CRM picks a surviving record, and the tracking identifier is frequently lost in the casualty list.

Single-key vs double-key matching

Historically, the only way to send a closed deal back to Google Ads was using the gclid. This is a deterministic match. If the exact string of characters is present, the match succeeds 100 percent of the time. If the string is missing, modified, or truncated by a CRM limit, the match fails completely.

Relying exclusively on the gclid makes your reporting highly vulnerable to database quirks. To solve this, we implement a double-key approach alongside the deterministic match.

Google's Enhanced Conversions for Leads uses the prospect's email address or phone number as a secondary match key. When the lead is first generated, the email is hashed (cryptographically scrambled) and sent to Google. When the deal closes, the CRM uploads the hashed email again. Google uses this to find the user's account and credit the correct ad click, even if the gclid was destroyed in a merge. When deciding between gclid offline imports vs Enhanced Conversions for Leads, the correct commercial answer is to use both simultaneously.

Illustrative scenario: The cost of single-key fragility

The commercial impact of merge failures is severe for businesses with long sales cycles and returning prospects. The following calculation tracks a cohort of 500 qualified leads through a standard CRM pipeline, showing how attribution leaks before the deals even close.

Scenario inputValueCalculation step
Total paid search leads generated500 leadsThe initial cohort recorded by the website
Leads merged into existing contacts100 leads20 percent were returning prospects
Leads surviving the automatic merge400 leadsThe gclid was discarded for 100 records
Leads merged manually by sales reps50 leadsReps consolidated duplicate company records
Leads surviving the manual merge350 leadsThe gclid was discarded for another 50 records
Lost attribution gap150 leads30% of your paid pipeline cannot be tracked

If those 150 untrackable leads result in closed revenue, Google Ads will never see the outcome. The bidding algorithm will assume the campaigns that generated those returning prospects are worthless, and it will shift your budget away from your most valuable returning buyers.

Diagnostic breakdown: Why the hash fails

While adding the email address as a secondary match key provides a safety net, it introduces a new technical risk. The email must be hashed using the SHA-256 algorithm before it leaves your server. If the text string is not perfectly normalised before hashing, the match will fail.

Data stateWhat the configuration doesCommercial consequence
Exact matchjohn.doe@example.comHashes correctly. The conversion is attributed.
Capitalisation varianceJohn.Doe@example.comProduces a completely different hash. Match fails.
Trailing whitespacejohn.doe@example.com The invisible space changes the hash. Match fails.
Email change post-leadProspect changes contact to jdoe@example.comGoogle receives an unknown identifier. Match fails.

To prevent this, the data pipeline must explicitly trim all whitespace and convert all characters to lowercase before the hashing function executes. If your CRM automation or middleware skips this normalisation step, your secondary match key is useless.

Moving to the Google Ads Data Manager

We rarely rely on the legacy integrations built directly into CRM marketplaces. The native HubSpot "Ads Events" sync and the legacy Salesforce connectors often lack the granular control required to manage merge priorities and normalisation rules.

Instead, we route the data through the Google Ads Data Manager API. This allows us to extract both the gclid and the raw email address directly from the database webhook. We handle the cleaning, normalisation, and hashing independently of the CRM's internal merge logic. If the CRM has dropped the click ID, our pipeline still successfully passes the clean, hashed email to the API.

This is a mandatory requirement for our lead and enquiry tracking engagements. We do not trust native checkboxes to handle complex data resolution. We build explicit contracts between your database and the advertising platform to ensure the revenue signal always survives.

How we verify the data pipeline

We test the merge logic directly. We submit a test lead containing a known click ID. We then submit a second lead with the same email address but a different click ID, forcing the CRM to execute its deduplication rules.

We inspect the resulting unified record to see which identifier survived. More importantly, we monitor the outbound payload sent to the Google Ads API. We verify that the payload contains the correctly normalised and hashed email address, regardless of which click ID the CRM decided to keep. By testing the failure state explicitly, we ensure your attribution remains intact when real prospects return to your website.

Frequently asked questions

Will changing my CRM merge rules break my sales reports?

Modifying how your CRM handles custom fields like the click ID will not affect your core sales reporting or pipeline stages. We only adjust the resolution priority for the specific tracking properties, ensuring the marketing data is updated without overwriting the original lead source assignment that your sales director relies on.

Does this issue affect organic search and referral traffic?

Organic and referral attribution generally rely on a "Lead Source" or "Original Source" dropdown field in the CRM, rather than a unique string of characters for every single click. While a merge can occasionally overwrite a source field, it is the loss of the unique, one-to-one identifier (the gclid) that specifically destroys the granular campaign reporting for paid search.

Can I just use Zapier or Make to fix the upload?

Middleware platforms can facilitate the upload, but they do not solve the underlying data loss if they are simply passing the corrupted CRM fields directly to Google. The middleware must be configured to extract the data immediately on form submission, or it must be built to handle the text normalisation and hashing before the CRM's merge logic deletes the primary identifier.