We’d use form capture option when we want to integrate with external form not not created in Dynamics 365 Marketing .
Let us take a simple example to understand how the form capture works.
Check the previous post on embedding the Dynamics 365 Marketing form on an external page – https://nishantrana.me/2022/11/10/how-to-embed-marketing-form-on-an-external-page/
Here we have this simple HTML page having a form in it.
Navigate to Outbound marketing >> Internet Marketing >> Marketing forms
Select Capture Form in the command bar.
Enter the URL of the page which has the form in it.
For the verification process to be successful, we need to copy the form capture code to the web page. We can find the form capture code in the Marketing website record.
Else in the next step, it will check for the script and if not found will give the option to use an existing script or generate a new one to copy to that web page.
Once we have entered the script, we’d get the message that the tracking script is valid on re-running the verification.
It will identify and load all the forms found on the page. Select the form.
Next map the fields in the form with Dynamics 365 Field, and click on Save and Close.
We can see the website and field mapping details in the marketing form record, with the option of Rescan form and Go live.
Let us Go live with the form.
Let us refresh our page which has the form, and submit the details.
Back in the Submissions tab of the marketing form, we can the submitted values as pending initially.
In the Insights, later we can see the form submissions
And Form Visits details
Note – Prefill isn’t supported for Form Capture
Check for more details –
https://vivian.tiiman.com/tip-9-form-capture-quirks-d365-marketing/
https://learn.microsoft.com/en-us/dynamics365/marketing/embed-forms#capture-a-new-external-form
Hope it helps..
One thought on “How to – use form capture to integrate with external form in Dynamics 365 Marketing”