I'm trying to pass a unique identifier from Marketo when a user clicks on a survey URL in an email. It seems like there are multiple unique identifiers in Marketo, but I am looking for one that I can use to track back to the user's email address in the system. So, I should be able to use the unique identifier to actually look that person up in Marketo. So far, I see Marketo Unique Code, Marketo Unique Id and Lead Id. What is the difference between all of these? When I look at the Id field in the Lead database it is a series of 6-8 numbers. However when I click on that Id and look at the user record, it no longer shows the id, it shows a field called Marketo Unique Code which is a combination of letters and numbers. If I then go back and do a search based on the Marketo Unique Code, I get zero results. Which code should I use to pass through a URL AND look up a user, and what is the token name?
Solved! Go to Solution.
Priya, using the Lead ID is the easiest way for a human to "look up" a lead, since you can navigate to https://<instance>.marketo.com/leadDatabase/loadLeadDetail?leadId=<lead id> .
But that's not the only method of addressing a lead. I'd like to know more about the back-end Marketo actions you intend to take with individual leads: in most cases, leads are addressed using their behavior/demo characteristics, not by ID. Of course there are exceptions, such as when you need to reconcile two systems or manually link external actions to a lead.
Priya, using the Lead ID is the easiest way for a human to "look up" a lead, since you can navigate to https://<instance>.marketo.com/leadDatabase/loadLeadDetail?leadId=<lead id> .
But that's not the only method of addressing a lead. I'd like to know more about the back-end Marketo actions you intend to take with individual leads: in most cases, leads are addressed using their behavior/demo characteristics, not by ID. Of course there are exceptions, such as when you need to reconcile two systems or manually link external actions to a lead.
Thanks Sanford. Can the lead id be passed as a token in a URL? I am looking for something unique that I can pass as a token in a url when the survey link is clicked. Then, once I collect my data and have a list of all of the lead ids, I should be able to go back in Marketo and find the associated email addresses for all of those. That's all I'm looking to do.
If you're sending them a link to click, the Clicked Link in Email will already be logged in Mkto and associated with their lead (thus a behavioral characteristic you can look up with a Smart List). It still seems like you're making work for yourself.
If you still want to include the id, {{Lead.Id}}.
{{lead.Lead ID}}
no?
Josh, how might I go about appending this token onto my URL? I need to pass the lead ID as a token, in an attempt to align with adobe analytics. I just cant seem to quick figure out either formatting or the right process to get that token in the URL. Thanks!
http://www.example.com/path/name/?mktId={{lead.Id}}
Okay, I'll include the token in the URL. More than seeing who clicked the emails, I need the email addresses to tie back to my survey data, which is in another tool. Thanks for your help!
If you create a Smart List for people who clicked, you can see their email addresses all at once. But I guess there's no harm in including the ID in the URL.