SOLVED

Re: Pass value to Salesforce via query string part of Marketo URL

Go to solution
Anonymous
Not applicable

Pass value to Salesforce via query string part of Marketo URL

Hi!

Our instance of Marketo is synced to Salesforce.

Is it possible to pass a value to Salesforce via a query string that's appended to a Marketo URL?

How we'd wanna utilize something like this is to have a unique "Lead Source" utilizing the same landing page.

Right now, we're copying landing pages to pass a unique "Lead Source" as a hidden field.

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Pass value to Salesforce via query string part of Marketo URL

When you set a hidden field to Autofill from query parameter, it... fills the field value from a query parameter, I don't know another way to say it.

If the URL contains

     &first_name=Emily

and the hidden field

     FirstName

is set to Autofill from the query parameter

     first_name

then when someone visits the page with the above query string, the lead's FirstName is set to "Emily."

View solution in original post

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Pass value to Salesforce via query string part of Marketo URL

"...to Salesforce" is kind of off-topic.

If you're synced to SFDC you just need the value in Marketo.

To do this, set your hidden field to Autofill from a query parameter. This is easy to find in Form Editor.

Anonymous
Not applicable

Re: Pass value to Salesforce via query string part of Marketo URL

Hi Sanford!

Thank you for your help.

Sorry, I don't think I'm articulating my question properly.

We'd like to pass the values for the hidden fields on the Marketo form FROM a query string in the Marketo URL so that if there's a hidden field for FIRST_NAME, the field will be populated from the value of the FIRST_NAME that's in the query string of the Marketo URL.

We are synced to Salesforce.

We're trying to reduce our workload but creating multiple forms to pass unique hidden values but passing the hidden values in a query string instead.

Do you know if that's possible?

If so, how?

Thank you Sanford!

SanfordWhiteman
Level 10 - Community Moderator

Re: Pass value to Salesforce via query string part of Marketo URL

When you set a hidden field to Autofill from query parameter, it... fills the field value from a query parameter, I don't know another way to say it.

If the URL contains

     &first_name=Emily

and the hidden field

     FirstName

is set to Autofill from the query parameter

     first_name

then when someone visits the page with the above query string, the lead's FirstName is set to "Emily."

Anonymous
Not applicable

Re: Pass value to Salesforce via query string part of Marketo URL

Thank you for your help!