SOLVED

Passing unique Marketo id in a survey URL

Go to solution
Anonymous
Not applicable

Passing unique Marketo id in a survey URL

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Passing unique Marketo id in a survey URL

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.

View solution in original post

8 REPLIES 8
SanfordWhiteman
Level 10 - Community Moderator

Re: Passing unique Marketo id in a survey URL

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.

Anonymous
Not applicable

Re: Passing unique Marketo id in a survey URL

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.

SanfordWhiteman
Level 10 - Community Moderator

Re: Passing unique Marketo id in a survey URL

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}}.

Josh_Hill13
Level 10 - Champion Alumni

Re: Passing unique Marketo id in a survey URL

{{lead.Lead ID}}

no?

Anonymous
Not applicable

Re: Passing unique Marketo id in a survey URL

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!

SanfordWhiteman
Level 10 - Community Moderator

Re: Passing unique Marketo id in a survey URL

Anonymous
Not applicable

Re: Passing unique Marketo id in a survey URL

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!

SanfordWhiteman
Level 10 - Community Moderator

Re: Passing unique Marketo id in a survey URL

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.