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 data | What the merged contact keeps | What it does to reporting |
|---|---|---|
| Record ID | A new Record ID, unless the account is in the Primary ID Preservation beta | Joins on the old IDs stop matching |
| Create date | The oldest record's value | The contact can move to an earlier month |
| Original Traffic Source | The oldest value, unless the source was updated by hand, in which case the manual value stays | First touch can switch channel |
| Lifecycle stage | The stage furthest down the funnel | Each pair removes one contact from its earlier stage, or from the stage both shared |
| Number of conversions and Number of unique forms submitted | The two values added together | Database totals hold steady |
| Timeline activities and page views | Both records combined | One contact carries both histories |
| Property history | Combined, with the merge date as the timestamp on changed values | "Last updated" filters fire on merge day |
| Static segments | Secondary removed from all of them | List-based reports lose members |
| Workflows | Primary stays enrolled and secondary is unenrolled; outside the beta, both are unenrolled | Scoring and nurture can stop |
| Salesforce sync | Only the primary contact keeps syncing | The 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 data | Leads | Contacts |
|---|---|---|
| Created Date and Created By | From the oldest record merged, whichever is principal | From the oldest record merged |
| Last Modified By date | The merge date | The merge date |
| Hidden and read-only fields | From the principal record | From the primary record |
| Campaign membership, when the records belong to different campaigns | Member Status Updated date kept for each campaign the merged lead belongs to | Member Status Updated date kept for each campaign the merged contact belongs to |
| Related items | Campaigns, activities and other related items move to the merged record, with some exceptions | Related items move to the merged record, with some exceptions |
| Chatter feed | Principal record only | Primary record only |
| Records that lose | Moved to the Recycle Bin | Moved to the Recycle Bin |
| Opportunity contact roles | Not covered | Roles 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
- 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.
- Build an expected-after column from the export, pair by pair, using the documented rules.
- 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.
- 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.
| Check | Before | Expected after | How the expected number is built |
|---|---|---|---|
| Total contacts | 48,000 | 47,600 | One record per pair leaves |
| Sum of Number of conversions | 21,300 | 21,300 | HubSpot adds the two values together |
| Contacts created in Q3 2026 | 6,050 | 5,770 | 280 pairs had their newer record created in Q3 |
| Original Traffic Source is Organic Search | 9,840 | 9,665 | 140 pairs were Organic Search on both records; in 35 more, the Organic Search record was the newer one |
| Lifecycle stage is Customer | 2,210 | 2,198 | 12 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
