Passing unique Marketo id in a survey URL | Community
Skip to main content
July 21, 2015
Solved

Passing unique Marketo id in a survey URL

  • July 21, 2015
  • 1 reply
  • 4717 views

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?

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 SanfordWhiteman

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.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
July 21, 2015

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.

July 21, 2015

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
New Participant
July 21, 2015

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