This topic describes how to set up posting of form data to an Eloqua form, when using the Optimizely Connect for Eloqua MA connector with an Optimizely website. Posting to Eloqua form provides some extra features like analytics, user activity on the site, and form submission data like which form created which contact. Marketers can for example see which form is driving the most conversions.
How it works
Existing Optimizely Form functionality and this added functionality each send form data from Optimizely to Eloqua. The difference is that this feature also makes a post to an Eloqua form.
To get the added functionality, perform the following steps.
- Create a form in Eloqua; see Creating forms from the Oracle website.
- Select Change Contact's Email Address and set it up as follows.
- Select Update Contacts - With Form Data and set it up as follows:
- Create a form with the same set of fields as the Eloqua form created in step# 1. Map these fields to the appropriate fields in the field mapping drop-down.
- Add a pre-defined hidden field with the values to the form you created, and map it to elqFormUrl in the field mapping drop-down as shown.
The hidden field should look like the following image:
Note: The value of the elqFormUrl hidden field should be only the URL displayed in quotes in the following picture; the “action=” part should be omitted.
Note: Form integration details are in the Eloqua portal, where you create a form in Eloqua. This is where you get the value for elqFormUrl. For reference see, Capturing submission data from an external form on the Oracle website.
- Add the following hidden fields to the HTML of your forms page. You can use a custom block that outputs raw HTML/scripts, or add them directly on the template which renders the form. See Reposting externally hosted forms on the Oracle website.
<input type="hidden" name="elqFormName" value="YourEloquaFormName" /> <input type="hidden" name="elqSiteId" value="YourSiteId" /> <input type="hidden" name="elqCustomerGUID" value=""> <input type="hidden" name="elqCookieWrite" value="0">
- Script 1
- Script 2
- Script 1
The form is ready. When you submit the Optimizely form, it creates a contact and also records the submission of the Eloqua form.
Last updated: Jun 07, 2019