Has anyone been able to pass the Google Visitor ID through a lead form via the REST API on a non-Marketo landing page? | Community
Skip to main content
April 29, 2015
Question

Has anyone been able to pass the Google Visitor ID through a lead form via the REST API on a non-Marketo landing page?

  • April 29, 2015
  • 1 reply
  • 856 views
Or any hidden variable for that matter - we are trying to pass through the Google Visitor ID and Google Click ID for advertising tracking, using a form built on our own server and using the API to create the lead upon form submit.

We have been able to create the lead, with name, phone, email, country fields, but the hidden form fields are not appending, even when we hard code the values to test.  

We have created the Fields in Marketo and grabbed the REST API field names to attempt to get them to populate.
 
 
Anyone with a solution or an example of a form you created that is succesfully posting additional fields would be much appreciated.

Thanks!

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
April 29, 2015
Er... are you exposing your Marketo API key to the world?  Simply put, the REST API is not designed to be used directly from the browser.  

Or is that api_post.js a NodeJS script?