Same Cookie Id, Different Email Address | Community
Skip to main content
April 16, 2013
Solved

Same Cookie Id, Different Email Address

  • April 16, 2013
  • 17 replies
  • 3692 views
If the cookie id is the same, but the email is different, is a new lead created?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jep_Castelein2
Yes, a new record is created (at least via Form Submission or List Import). If you use the API, you have multiple options based on the Lead Key you provide (email, cookie ID or Marketo ID). 

17 replies

April 17, 2013
Adding a small detail to Jep's clever suggestion:
the Cookie ID would be similar to id:561-HYG-937&token:_mch-marketo.com- 1258067434006-50277 
 
You can read the cookie using JavaScript
April 17, 2013
Please ignore this if I have missed the point but

But the simple answer is NO a new lead should not be created.

To Jack's first comment comment 

A visitor is cookied, a new lead is created via the webservice api, the lead comes back and completes another form only this time with another email address.

I am assuming a new lead is created.  However we'd like to setup a process where if the cookie id is the same, and the first email is flagged as a bad email address, that the existing lead is simply updated instead.

From the first paragraph, if the lead is submitted with the tracking cookie information then the lead is "tagged" or creates a relationship in the Marketo database between the lead record with the email address and the cookie record. This is a 1:many relationship structure as a lead can have one or more cookies but a cookie can have only one lead. 

If at some point in time later, the lead returns and fills out a form with the same tracking cookie and edits the email address, then upon submit, the lead's email address will be updated.  From my understanding, Marketo should NOT create a new lead in this situtation.  It would only do so if the lead created via the APIs did NOT pass the _mkto_trk cookie in the first place.

Just my two cents,

Cheers,
Eric
Jep_Castelein2
Level 10
April 17, 2013
Hi Eric, Marketo will never update the email address on form submission, unless you stuff the email address in a different field.  
April 17, 2013
Is that a relatively recient change because in my past life that has been availible.
Jep_Castelein2
Level 10
April 17, 2013
Not sure, I also thought it was the way you described it, until I tested it late last year. I asked around, and several people said it had always been this way. 
Level 2
July 14, 2014
Jep - I am assuming a new lead would be created if the same individual (with a different email address) comes in through a list import instead of a form completion?
Jep_Castelein2
Level 10
July 14, 2014
@Mark: yes