[Limited availability]{class="badge informative"}
Use forms in your landing pages lp-forms
To capture profile data with your Journey Optimizer landing pages and enrich your Experience Platform datasets, you can leverage forms in your landing pages.
Create a form preset create-form-preset
Before being able to create a form, you need to create a dedicated preset where you select the connection endpoint where form submission data is sent, and the dataset where the data captured through the form will be stored.
Once data lands on the streaming endpoint, it is linked with the dataset information. Using the generated source/target connections and source flow, the data is then pushed into the dataset.
When creating a preset:
-
You can set up multiple presets using different combinations of datasets and streaming connections.
-
The same dataset or streaming connection can be reused across multiple presets.
-
Each streaming connection automatically generates resources such as:
- Source connection – where the data originates.
- Target connection – where the data is stored or consumed.
- Source flow – the pipeline that moves data from the source connection into Experience Platform, handling mapping, transformation, and validation.
To create a form preset, follow the steps below.
-
To access the Form presets inventory, select Administration > Channels >Form settings from the left menu.
-
Click Create form preset.
-
Update the name to retrieve it more easily and add a description if needed.
{width="80%"}
-
Select the Streaming connection to use for that form. This is the streaming endpoint where data is sent upon submitting the form.
note note NOTE Learn more on creating a streaming source connection in the Experience Platform documentation. -
Select a Dataset to link with the form. This is where the form responses will be stored and reflected. You can type to search a specific dataset or select it from the list.
note note NOTE Currently only 51ºÚÁϲ»´òìÈ Experience Platform datasets are available for selection. One dataset can be selected at a time. Learn more on datasets -
Click Publish. Your preset is now ready to be used in a form.
Access and manage forms access-forms
To access the form list, select Content Management > Forms from the left menu.
All the existing forms are displayed. You can filter forms based on their status, creation or modification date.
Create and design a form create-form
To create a form, follow the steps below.
-
From the Forms list, click Create form.
-
Add a name. You can add a description if needed.
-
Select a Preset that contains the connection to be used and a predefined dataset for your form. Learn how to create a form preset
-
Click Create. The form designer opens, which enables you to add structures and content components to build your content. You can use Text and Field components.
-
To capture profile data and attributes, add specific fields to your form. Learn more
-
Configure and design these fields. Learn more
-
You can adjust the form’s layout, styling and dimensions as needed using the Styles pane. Learn more on styling
-
Once you configured all the fields, click Save & close.
-
Configure the Thank you page. Learn how
-
Publish the form to make it available for selection in landing pages.
Define specific fields define-fields
To add specific fields to your form, drag and drop a structure into the canvas, and drag a Field component inside.
Then select one of the following options:
Use this option to select an attribute based on the dataset schema linked to your form.
| note note |
|---|
| NOTE |
| The dataset is defined in the preset selected for your form. Learn more |
For example, you can set the Email and Person ID. When users fill in these fields, the information entered is saved to the selected dataset.
To map the collected data with a Profile, select a profile identity field. The identity fields are marked as Required in the attribute list - you can filter on them.
With this option, you can just define a free field without mapping it to a field in the linked dataset.
Configure and design a field configure-fields
Once you selected a field attribute or added a custom field, you can further adjust its details as well as its behavior upon submitting the form.
-
In the Field details section of the Content tab on the right, you can specify the following elements as needed:
-
Adjust the Label to make it clear for the recipients of your form.
-
Change the Field type according to your needs. It can be a checkbox, currency, date, slider, URL, etc.
note note NOTE The other field details may vary according to the selected field type. -
Add a Placeholder.
-
Specify Instructions.
-
Enter a Default value which will be displayed before the users of your form fill in the field.
-
You can define a custom Validation message.
-
Set a Maximum length. An error message displays if the recipients of the form exceeds the limit when filling in the field.
{width="85%"}
-
-
In the Field behaviors section, you can define the following:
- Select Required to make this field compulsory. If users do not fill in the field, they cannot submit the form.
- Select Sensitive to make the field case-sensitive.
- Select Prefilled Enabled to populate the field from the profile information if available.
- Select Enable input mask to replace users’ input with generic characters. You can use 9 to mean any number, a to mean any letter, or * to mean any number or letter.
{width="75%"}
Configure the Thank you page thank-you-page
Back in the form details, from the Thank you page section, configure what happens when a user fills out the form.
Set up one of the following actions:
-
Stay on page - This option keeps the visitor on the same page when the form has been submitted.
-
Landing page - Select a published landing page to which the user is redirected after submitting the form.
-
External URL - Enter the full URL you want as the follow-up page. Once the user has submitted the form, they are directed to the URL specified.
-
Conditional redirect - Set up rules to dynamically show different follow-up actions based on the form responses.
You can define a rule for each specific audience. For example, you can display a specific landing page for US residents, another page for Canada residents, and so on. Finally, set up a default action for users who do not fall in any rule that you defined.
note note NOTE The conditions defined in a rule are read sequentially. {width="40%"}
Edit a published form edit-form
Once a form is published, you can still edit it. Follow the steps below.
-
Access the form list and select a published form.
-
Click the Edit form button.
{width="90%"}
-
A new version of the form is created with the draft status. Click Create draft version.
-
Update the form as needed and click Save. The form has now the Published (with draft) status:
-
The current version continues to have the Published status, until you publish the updated version.
-
The updated version has the Draft status.
-
-
Back in the form summary, you can navigate between the two versions of the form.
{width="70%"}
-
In the Draft section, you can either publish or discard the draft, as well as edit the details or content of the form.
{width="75%"}
Leverage the form in a landing page leverage-form-in-lp
You can now embed this form into a landing page in order to capture data corresponding to the attributes you defined in the form, and save it into the selected dataset. Follow the steps below.
-
Create a landing page. Learn how
-
Select Data Capture as the landing page type and click Create.
{width="65%"}
-
Configure the primary page. Learn how
-
Open the landing page designer.
-
Drag and drop a Structure component into your content. Drag and drop a Form component into that structure.
note note NOTE Only published forms can be selected in a landing page. -
In the Embed form section, select the form that you created.
note note NOTE You can update the selected form using the Edit form button. The form opens in a new tab. The steps to edit the form content are detailed in this section. -
In the Follow up type section, configure what happens when a user fills out the form:
-
Choose Form defined to select the action that was defined in the embeded form. Learn more
-
You can also select a published landing page to which the user is redirected after submitting the form.
-
Or define an External URL as the follow-up page where users are directed when they submit the form.
-
-
Save and test your landing page. Learn how
Once your landing page is published and used in a journey, when users fills in the form, the information entered is ingested into the selected dataset.