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

Anonymous
Not applicable

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

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!

 
Tags (1)
1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

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

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?