Token for leadid | Community
Skip to main content
December 18, 2015
Solved

Token for leadid

  • December 18, 2015
  • 2 replies
  • 4612 views
Is there any Marketo token to get the id of the lead? . There is a token for email address {{lead.Email Address:default=edit me}}. But i cannot find the token for the id. 
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 Grégoire_Miche2

Yes it works perfectly well, although it does not appear on the token drop list.

But it can only work if Marketo recognizes you with the munchkin and you are in the database.

See here : inficiences display the page, wait 20 seconds (so that the lead is created in the database) and refresh it. The lead ID will display.

For anonymous leads, it will stop working with Feb 2016 release. See here Removal of "Is Anonymous" filters.

-Greg

2 replies

Grégoire_Miche2
Grégoire_Miche2Accepted solution
New Participant
December 18, 2015

Yes it works perfectly well, although it does not appear on the token drop list.

But it can only work if Marketo recognizes you with the munchkin and you are in the database.

See here : inficiences display the page, wait 20 seconds (so that the lead is created in the database) and refresh it. The lead ID will display.

For anonymous leads, it will stop working with Feb 2016 release. See here Removal of "Is Anonymous" filters.

-Greg

Frank_Breen2
New Participant
December 18, 2015

Are you getting the ID using the API and then pushing it to the Lead record in your CRM?

{{lead.ID}} looks like a custom field in your CRM and not an out of the box one from Marketo.

Grégoire_Miche2
New Participant
December 18, 2015

No, It's standard, just it does not appear in the drop list.

Just try.

-Greg

Grégoire_Miche2
New Participant
December 18, 2015

Hi Arunkumar,

{{lead.ID}}

-Greg

December 18, 2015

Thanks for the quick reply. But i could not find it in the token list. If i write it manually, it returns empty value. Do we need to enable it somewhere?

Frank_Breen2
New Participant
December 18, 2015

I don't think you can search by Lead ID, this is a Marketo only primary key.