Re: Munchkin/associateLead - if two Leads have the same email, what does it use?

Anonymous
Not applicable
  • Multiple Marketo leads can use the same email address.
  • Munchkin::assocationLead uses the email address to sync cookie and lead

So given the above, when multiple leads share an email address, which lead gets assigned?

The docs are unclear on this point:
http://developers.marketo.com/documentation/websites/lead-tracking-munchkin-js

Tags (1)
2 REPLIES 2
Anonymous
Not applicable
That's not very cool.

Can associateLead use any other attributes to disambiguate the target lead?  Could I pass it the Marketo ID?  Or the foreignPersonSysID?
Kenny_Elkington
Marketo Employee
Hi Grant,

If the cookie value being submitted already matches one which is associated to an existing record, then it will update that record.  If the cookie value is not associated with either, the most recently updated record is the one which will be updated.