Munchkin associateLead call

Highlighted
Anonymous
Not applicable

Munchkin associateLead call

Hi All,

I am wondering if there is a way for a anon lead to be tag as known and I have found this.

A Munchkin associateLead call must be sent to your Marketo instance.

Do you have any idea how to do this?

Any answer will be greaty appreciated

thanks,

Jas

7 REPLIES 7
Highlighted

Re: Munchkin associateLead call

Hi Jas,

It will take a JS developper and this API : http://developers.marketo.com/javascript-api/lead-tracking/api-reference/

and you will need the person's email anyway.

You might also want consider filling a form in the background, which also requires JS too. Make a Marketo Form Submission in the background

What is your use case ?

-Greg

Highlighted
Level 10 - Community Moderator

Re: Munchkin associateLead call

Also please read this blog post: http://blog.teknkl.com/generating-munchkin-associator-tokens-in-sfdc-apex-or-flowboost-js/

associateLead is not a purely client-side function: associator tokens use a secret key, so they need to be generated on a server.

Highlighted
Level 2

Re: Munchkin associateLead call

Hi Sanford Whiteman​ and Grégoire Michel​,

Will this also work if for example we just hosted a tradeshow and upload there email and other information on marketo.

But we want to tract if they visited our website but they didnt filled out form or click any email link.

Thanks

Highlighted

Re: Munchkin associateLead call

Hi Ron,

Is they visit your web site and you do not know who they are, then you do not know their email address, so you cannot run any of the methods above.

If they browse your website and you know who they are, then it's because they already have beed associated, in which case running these JS is useless.

Sorry for the bad news.

-Greg

Highlighted
Anonymous
Not applicable

Re: Munchkin associateLead call

Thanks is that same scenario with non marketo form and record created from sfdc right?

THanks,

Jas

Highlighted
Level 10 - Community Moderator

Re: Munchkin associateLead call

Jas, if someone uses a non-Marketo form to identify themselves, in theory that would be the typical case in which you'd use associateLead -- you know who they are via other means and you want to tell Marketo.

However in the specific case of a non-Marketo form which creates an SFDC record, which in turn becomes a Marketo lead, you can't use the client-side associateLead because you'll create a duplicate (the lead created by associateLead, if it's net new, will not be the same as the lead created by the SFDC sync). In this case you instead pass the Munchkin tracking cookie (_mkto_trk) to SFDC as a hidden field, then relay it to a Marketo field, and finally call a webhook.  This is the only way to protect against duplicates when your non-Marketo form uses a back-end workflow that creates Marketo leads.

Highlighted
Level 10 - Community Moderator

Re: Munchkin associateLead call

The more practical way to accomplish this is by distributing Personalized URLs, a built-in Marketo feature that's different from Munchkin associator tokens.

While Munchkin tokens can accomplish the same, they're very long strings and not any better for this use case.

However, as Greg rightly notes, if you don't give them a personalized URL/promo code/etc. then they're just hitting your website anonymously, like any other member of the public, and you couldn't know who they are.