SOLVED

Re: Token for leadid

Go to solution
Anonymous
Not applicable

Token for leadid

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. 
1 ACCEPTED SOLUTION

Accepted Solutions
Grégoire_Miche2
Level 10

Re: Token for leadid

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

View solution in original post

11 REPLIES 11
Grégoire_Miche2
Level 10

Re: Token for leadid

Hi Arunkumar,

{{lead.ID}}

-Greg

Anonymous
Not applicable

Re: Token for leadid

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
Level 10

Re: Token for leadid

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

Anonymous
Not applicable

Re: Token for leadid

Actually i want to add the token in marketo landing page for leadid.

Frank_Breen2
Level 10

Re: Token for leadid

Do you mean this:

id.png

Anonymous
Not applicable

Re: Token for leadid

Yes, exactly

Frank_Breen2
Level 10

Re: Token for leadid

This is just Marketo's unique identifier for every record, it's not possible to call it out via a token in email or landing pages.

Grégoire_Miche2
Level 10

Re: Token for leadid

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
Level 10

Re: Token for leadid

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.