Email sign up | Adobe Higher Education
Skip to main content
Malcolm_Price1
Level 2
February 2, 2020
Fråga

Email sign up

  • February 2, 2020
  • 2 svar
  • 4577 visningar

We wish to have a simple email sign up form on our home page, which passes the data to Marketo form so that the subscriber can then provide more details and preferences. The home page form is built inside our custom CMS so I am wondering what method or string would be used to pass the field data across? Thanks in advance for any help.

2 svar

SanfordWhiteman
Level 10
February 2, 2020

Use a background form post. This means an invisible Marketo form that you pass values to using the Forms 2.0 JS methods.

 

Lots of discussion in past posts... start with this one: https://nation.marketo.com/t5/Product-Discussions/How-to-Make-Truly-Custom-Forms-via-API/m-p/88751/highlight/true#M52477

Harish_Gupta6
Level 6
February 3, 2020

The link provided by Sandford has good explanation. Here is the few articles on the same which explains the pros and cons:

 

jennamolby.com/marketo-form-techniques-5-ways-to-implement-marketo-forms-on-your-website/

 

Also, as you are building the form in your CMS then better to use the rest API and submit the user data to Marketo. You can initiate the further campaign in Marketo by calling the campaign using the Rest API.
https://developers.marketo.com/rest-api/

Harish Gupta
SanfordWhiteman
Level 10
February 3, 2020

That link has flatly wrong information, Harish (it always has).

 

Using the REST API spells a Denial of Service attack unless you develop it properly (and almost nobody does). The background form post is superior at every level, from scale to functionality to familiarity. 

Harish_Gupta6
Level 6
February 4, 2020

Hi Sandford,

 

Agreed with you. But if they build their component at CMS side then it's safer. 

 

Thanks

Harish Gupta