Custom URL Parmater vs. Hidden Form Field Value | Community
Skip to main content
February 17, 2014
Question

Custom URL Parmater vs. Hidden Form Field Value

  • February 17, 2014
  • 4 replies
  • 985 views
I'm running a re-targeting ad campaign with a custom parameter in the URL that cahnges the lead source value to "Advertising". The link directs the lead to a form with a hidden field : "leadsource = website".

Does the URL custom parameter lead source value override the form hidden field value upon form fill out?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

February 17, 2014
Yes the Get Value From parameter will override your default value in the form settings. Also, if you did not set up your marketo instance you may also need to make sure that the field is editable in the admin section if you are trying to overrride an existing value in the DB. 

Be sure to test :) 

- Jeff
February 17, 2014
Good to know.

Any advice on how to set up a custom paramter when usiong your non-marketo landing pages?
Josh_Hill13
Level 10
February 17, 2014
Do you mean the code for the form itself?

The principle is the same, just make a parameter name and match it to the hidden field name in the code.
February 17, 2014
It will not matter if it is a marketo landing page or a marketo form on a page. Essentially you are telling the form to look at the url string parameter's value. E.g. mysite.com/landingpage-name/?firstName=Jeff you would set up the form to look for the value of firstName which is "Jeff" and this would override the default value you set.