Avoiding duplicate leads

Why a form followed by a chat creates two leads for one person, and how to keep one lead-creating mechanism per campaign.

In plain words: if the same person fills in your ad form and then also chats with you, you can end up with two lead records (a lead is a person who showed interest in what you sell) for one human. The fix is to let only one of the two create the lead. Read this page when you run a form and chat ads on the same campaign. New to ad terms? See Ads basics.

Where to find it: the settings involved are in Prospect (Settings > Exchanges) and in the Lead app (Settings > Profile Service > Identity Resolution).

Who can use it: changing an exchange needs a Prospect admin. Identity Resolution is a Lead admin setting.

Capturing details with a form and then continuing in chat is good marketing. It is also the setup that can produce duplicates, so it is worth planning.

Before you start

Why a form and a chat create two leads

The two paths do not know about each other:

  • The form creates a lead keyed on the platform's form lead ID, under the form's source (see Lead forms). A source is the entry in the Lead app that receives leads from one place.

  • The conversation creates a second lead keyed on the conversation, under the exchange's source (see Chat ads). An exchange is a rule in Prospect that sends prospects to another app.

Different sources and different keys mean the overlap goes unseen. You end up with two records for one person. The one with the phone number and the one with the conversation attached are different records.

The rule: one campaign, one lead-creating mechanism

Choose one system of record per campaign, then switch off automatic lead creation on the other.

Situation

Do this

The form is connected on Lead forms (recommended)

Let the form own the lead. In Prospect, set the exchange so it creates nothing by itself: tick only Manual convert under Trigger events, so prospects only become leads when an agent converts one by hand. Or do not create an exchange for that campaign. Agents still get the conversation, and no second lead is created.

You want chat to own the lead

Do not connect that form on Lead forms. The campaign and ad group attribution that comes with the form is then not captured.

The form is not on Lead forms

Only one path exists. Keep the exchange, and choose Prospect created, which creates one lead per new prospect.

Tip: two automatic mechanisms pointed at the same Lead service always produce two records, and matching later does not fully repair that.

An exchange can point at any service, not only a Lead service. If you want chat activity recorded without a second lead, ask your Prospect admin whether to point the exchange at a different service for that campaign.

How two leads become one person

Leads are never silently overwritten. Each lead is attached to a profile (the one record the Lead app keeps for a person), and profiles are what get matched.

The matching rules are set in the Lead app, under Settings > Profile Service > Identity Resolution (a Lead admin setting that applies to every Lead service). For each identifier there is a rule with a priority and an Active switch:

  • Email: exact match, ignoring upper and lower case.

  • Phone: Compare last N digits, so 0901234567 and +84901234567 are treated as the same.

  • Anonymous ID.

Lead app, Settings > Profile Service > Identity Resolution

For the full reference, see Profiles and deduplication.

Matching runs when a lead is created, and when an import completes. It does not run again when a lead is edited later. A lead created with no phone and no email gets its own profile, and adding the phone an hour later merges nothing.

So leads that arrive without contact details (Messenger above all) are matched only if they carry a phone or email at creation. The reliable answer is to let only one mechanism create the lead, rather than cleaning up afterwards.

If you need both to create leads automatically

The chat lead must carry a matching identifier at the moment it is created, because that is the only point where profiles merge.

  • WhatsApp: works well, since the phone number arrives with the conversation.

  • Messenger and Instagram: these chats have no phone or email when the lead is created, and an agent typing it in afterwards is too late. Use one lead-creating mechanism instead.

Troubleshooting

Problem

Why it happens

What to do

One person has two leads, one from the form and one from the chat

Both the form and the exchange create leads

Tick only Manual convert on the exchange, or remove the exchange for that campaign

A WhatsApp lead and a form lead did not merge

The phone numbers differ, or the Identity Resolution phone rule is not Active

Check the phone rule in Settings > Profile Service > Identity Resolution

Adding a phone to a lead later did not merge it

Matching runs only at creation and import

Avoid the second lead in the first place

The same person on Messenger and WhatsApp is two profiles

No phone or email matched at creation

Collect a phone or email early, or let an agent merge the prospects in Prospect

More in Fix it by symptom.