CRM data hygiene

What a CRM Merge Keeps and Rewrites in Your Attribution History

What HubSpot and Salesforce keep when duplicate records merge, from create date and original source to campaigns, plus the fields to export and a report check.

On this page

To merge CRM duplicates without breaking reports or attribution history, decide which fields the merge will rewrite before you start, export those fields from both records in every pair, and run the same reports before and after so each change traces back to a pair. HubSpot and Salesforce both publish merge rules specific enough to predict most of what a dashboard will do afterward.

Both platforms keep the oldest create date on the merged record. In both, the person merging can pick which field values to keep. HubSpot then applies fixed rules to source, lifecycle stage and conversion counters, while Salesforce keeps hidden and read-only fields from the principal record. The survivor is a blend of two records, and first-touch reports drift inside that blend.

What HubSpot keeps when two contacts merge

In HubSpot you pick a primary record, and its property values are selected by default, though you can click a secondary value to keep it instead; where the primary is blank, the secondary's value fills the gap. The exceptions are the fields attribution leans on. The table follows the merge rules HubSpot publishes in its knowledge base, last updated September 5, 2026.

Field or dataWhat the merged contact keepsWhat it does to reporting
Record IDA new Record ID, unless the account is in the Primary ID Preservation betaJoins on the old IDs stop matching
Create dateThe oldest record's valueThe contact can move to an earlier month
Original Traffic SourceThe oldest value, unless the source was updated by hand, in which case the manual value staysFirst touch can switch channel
Lifecycle stageThe stage furthest down the funnelEach pair removes one contact from its earlier stage, or from the stage both shared
Number of conversions and Number of unique forms submittedThe two values added togetherDatabase totals hold steady
Timeline activities and page viewsBoth records combinedOne contact carries both histories
Property historyCombined, with the merge date as the timestamp on changed values"Last updated" filters fire on merge day
Static segmentsSecondary removed from all of themList-based reports lose members
WorkflowsPrimary stays enrolled and secondary is unenrolled; outside the beta, both are unenrolledScoring and nurture can stop
Salesforce syncOnly the primary contact keeps syncingThe secondary's Salesforce twin needs its own plan

Two rows carry most of the risk. Because the merged contact keeps the oldest create date and both timelines, a contact your Q3 report counted as new can fall back into an earlier month, bringing the older duplicate's first touch with it. The merge is also final: HubSpot's article says "it is not possible to unmerge them." The Merged Record IDs property holds the IDs of every record folded into the survivor, which makes it the join key for any later reconciliation.

Attribution reports sit on top of those fields. According to HubSpot, contact create attribution reports mark three interaction positions: the contact's first interaction recorded in HubSpot, the last interaction before the contact was created, and the lead create moment. Deal create and revenue attribution use interactions associated with both the deal and a contact, and both are limited to Marketing Hub Enterprise. We found no HubSpot statement on how attribution reports reprocess a merged contact, so treat that effect as something to measure.

Some fields deserve a manual check because the merge article never names them: Latest Traffic Source, the two Original Traffic Source drill-down properties, and the dates each lifecycle stage was reached. Beyond a general note that analytics properties are re-synced, we found no specific merge rule for them, so export them. If you correct a merged contact's source by hand afterward, HubSpot says the drill-down properties are cleared and cannot be updated manually, which leaves your export as the only copy of that detail.

What Salesforce keeps when leads or contacts merge

In Lightning Experience you select up to three contacts, choose a principal contact and pick which field values to keep from each record, according to Salesforce. Salesforce publishes separate considerations for merging leads and contacts, and the two line up closely. The lead page from Salesforce and the contact page from Salesforce give these rules:

Field or dataLeadsContacts
Created Date and Created ByFrom the oldest record merged, whichever is principalFrom the oldest record merged
Last Modified By dateThe merge dateThe merge date
Hidden and read-only fieldsFrom the principal recordFrom the primary record
Campaign membership, when the records belong to different campaignsMember Status Updated date kept for each campaign the merged lead belongs toMember Status Updated date kept for each campaign the merged contact belongs to
Related itemsCampaigns, activities and other related items move to the merged record, with some exceptionsRelated items move to the merged record, with some exceptions
Chatter feedPrincipal record onlyPrimary record only
Records that loseMoved to the Recycle BinMoved to the Recycle Bin
Opportunity contact rolesNot coveredRoles on non-master contacts lose their primary contact status

The hidden and read-only rule is the one that catches first-touch reporting. If your first-touch source or UTM fields are locked as read-only, the principal's values survive even when the other record is older and holds the real first touch, so check those fields before you choose the principal. If opportunity or campaign influence reports key off the primary contact role, export the roles first so you can see which opportunities lost a primary contact. That campaign rule covers records in different campaigns, and we found no statement on what happens when two merging records belong to the same campaign, so count members per campaign before and after.

The attribution fields to export before you merge

Pull one export per batch, with a pair ID on every row and both records of each pair side by side. For attribution, these are the columns that matter:

  • Both record IDs, plus which one you intend to keep as primary or principal
  • Create date, and Created By in Salesforce
  • First-touch fields: HubSpot's Original Traffic Source and its two drill-downs, plus any custom first-touch UTM fields in either system
  • Last-touch fields: HubSpot's Latest Traffic Source and your own last-touch UTM fields
  • Lifecycle stage and the date each stage was reached
  • HubSpot's Number of conversions and Number of unique forms submitted counters
  • Static list or segment memberships and active workflow enrollments
  • Salesforce campaign memberships, with status and Member Status Updated date
  • Salesforce opportunity contact roles, with the primary flagged
  • A flag on any record whose source was changed by hand

The last column matters in HubSpot, where a manually set Original Traffic Source survives the merge in place of the oldest value; without the flag, those pairs look like errors at reconciliation.

A before and after report check that reconciles

  1. Freeze a date range and snapshot it: total records, records created by month, counts by original source and lifecycle stage, the sum of conversion counters, campaign members per campaign, and contact create attribution by source.
  2. Build an expected-after column from the export, pair by pair, using the documented rules.
  3. Merge the batch, give syncing time to finish (HubSpot says timeline activity can take up to 30 minutes to appear on the merged record), and rerun the same snapshot.
  4. Trace every gap between expected and actual to a pair in the export before you start the next batch.

The table below is a hypothetical HubSpot example. Every number in it is invented to show the arithmetic: 48,000 contacts, 400 duplicate pairs, no manually edited sources and no records in a lifecycle stage after Customer, such as Evangelist or Other.

CheckBeforeExpected afterHow the expected number is built
Total contacts48,00047,600One record per pair leaves
Sum of Number of conversions21,30021,300HubSpot adds the two values together
Contacts created in Q3 20266,0505,770280 pairs had their newer record created in Q3
Original Traffic Source is Organic Search9,8409,665140 pairs were Organic Search on both records; in 35 more, the Organic Search record was the newer one
Lifecycle stage is Customer2,2102,19812 pairs had two Customer records; a Customer paired with an earlier stage stays a Customer

The conversion sum is the cleanest test, since the counters add and the total should hold exactly. If it moves, something besides the merge touched the data in that window. Contact create attribution has no documented merge rule to predict from, so record its totals by source on both sides and explain the movement with the pairs whose create date or original source changed. In Salesforce, run the same exercise on campaign member counts and on opportunities that lost a primary contact role. An assistant can draft the expected column from the export, and our working Claude setup includes the reporting side.

When a workflow or an agent does the merging

The rules above stay the same when software clicks the button. Whether merges run from a scheduled job or an AI agent, make the export and the snapshot a required step for every batch, and send anything the expected-after column can't explain to a person, following a governance model for marketing agents. Deduplication is a small piece of running marketing automation on clean data, and in HubSpot it is the piece you cannot reverse, so small, checked batches are the safer habit. To weigh whether automated cleanup pays for its setup, our AI ROI calculator is a starting point, and our agentic AI automation team can help design the checks around it.

Sources

  • HubSpot: Merge records (updated September 5, 2026)
  • HubSpot: Understand Original and Latest traffic source properties (updated August 4, 2026)
  • HubSpot: Understand attribution reporting (updated October 20, 2026)
  • Salesforce: Things to Know About Merging Duplicate Leads
  • Salesforce: Considerations for Merging Duplicate Contacts
  • Salesforce: Merge Duplicate Contacts in Lightning Experience

Frequently asked questions

Does merging contacts in HubSpot change the original source?
It can. HubSpot keeps the oldest Original Traffic Source value of the two records, unless the source was updated by hand, in which case the manual value stays. If the secondary contact is the older one, its first-touch channel replaces the primary's. Export both records' source and drill-down properties before merging, since HubSpot clears the drill-downs when a source is changed manually afterward.
Can you undo a merge in HubSpot or Salesforce?
HubSpot says merged records cannot be unmerged. Its Merged Record IDs property lists the IDs folded into the survivor, and a contact can be recreated from its secondary email address. In Salesforce the losing leads or contacts move to the Recycle Bin. We found no unmerge option in the Salesforce pages we read, so treat both merges as one-way and export first.
Which create date does a merged record keep?
Both platforms keep the oldest. HubSpot maintains the create date of the oldest record in the merge. Salesforce keeps the Created Date and Created By user of the oldest record merged, whichever record you chose as principal, and shows the merge date as the Last Modified By date. Reports that count new records by month can therefore lose a record from a recent month.
What happens to campaign history when Salesforce leads merge?
When the leads belong to different campaigns, Salesforce keeps the campaign Member Status Updated date for each campaign the merged lead belongs to, and related items such as campaigns and activities move to the merged record, with some exceptions. We found no statement on what happens when both leads were members of the same campaign, so count members per campaign before and after the merge.

Free tools for this topic

FREE TOOLAttribution DoctorA media-mix model that runs in your browser.FREE TOOLUTM Campaign BuilderClean tracking links your analytics will thank you for.PLAYBOOKThe First-Party Data PlaybookMeasurement that survives privacy — and gets sharper.

Keep reading

GlossaryWhat Is Marketing Automation in the AI Era?Read →AI & MLThe Governance Operating Model That Lets Marketing Agents Ship Work AloneRead →AI & MLA Working Setup for Claude Across Research, Ad Accounts and ReportingRead →
CATALIST NEWSLETTER

Monthly dose of growth marketing.

Get marketing tips, narratives, guides, and playbooks delivered to your inbox.

Protected by reCAPTCHA — Google's Privacy Policy and Terms of Service apply.