What is the best way to use an embedded Marketo form that simultaneously sends data to an external database? Obviously, we can use an API to send data to Marketo, but if we want to use the advantages of an embedded marketo form, which still sending the same data to an external database.
We have a unique use case where our website is collecting a lot of information (which does not need to be in Marketo) to create a PDF report for the user. We want to send the standard new lead fields into Marketo: name, email, phone -- and send the same info to our external database that has all the other non-marketo information. We were hoping to do pre-filled and progressive forms, hence the reason we prefer to do embedded. It also gives us the flexibility of changing the form without going back to our developers every time. We also do not want to send duplciate leads into Marketo.
Is there a way to do this or do we have to use the API?