This content has been marked as final. Show 3 replies
Sort of. You can query the SOAP API with a cookie's ID to get that information, but that generally isn't fast enough to use inline in a website.
What are you trying to do?
We have a new feature we're adding to our website. To access it, they need to go through a Marketo form (iframe). Once they get into the feature, we are collecting some data from their use of it that we'd also like to add into SalesForce (via Marketo if possible). The issue is, once they're past that initial form, we have no way to connect that extra data with the proper lead unless we can grab the email address or lead ID out of "thin air".
I second Erik. SOAP API would be an effective option.You can call getLead, passing Cookie as LeadKey. The generic format is id:561-HYG-937&token:_mch-marketo.com- 1258067434006-50277 where the first 9 characters are the Munchkin ID.You can then relay the extra data through syncLead.