Skip to main content
August 1, 2014
Question

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

  • August 1, 2014
  • 2 replies
  • 1037 views
  • 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
August 1, 2014
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.
August 1, 2014
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?