Define landing page-specific content lp-content

On this page: The form component turns a static landing page into an interactive experience — add it so visitors can opt in or out, manage their subscriptions, or submit data that flows straight into your Experience Platform datasets.

To design your landing page content, you can use the same components as for an email. Learn more

To design specific content that will enable users to select and submit their choices, use the form component:

NOTE
You can also create a click-through landing page without a Form component. In that case, the landing page will be displayed to users, but they will not be required to submit any form. This can be useful if you only want to showcase a landing page without requiring any action from your recipients such as opt-in or opt-out, or want to provide information that does not require user input.

Using the landing page content designer, you can also leverage contextual data coming from the primary page in a subpage. Learn more

NOTE
The European accessibility act states that all digital communications should be accessible. Make sure you follow the specific guidelines listed on this page when designing content in Journey Optimizer.

Use the form component use-form-component

To define specific content that will enable users to select and submit their choices from your landing page, use the Form component. To do so, follow the steps below.

  1. Drag and drop the landing page-specific Form component from the left palette into the main workspace.

    note
    NOTE
    The Form component can only be used once on the same page.
  2. Select it. The Form content tab displays in the right palette to let you edit the different fields of the form.

    note
    NOTE
    Switch to the Styles tab at any time to edit the styles of your form component content. Learn more
  3. From the Checkbox 1 section, you can edit the label corresponding to this checkbox.

  4. Define if this checkbox is to opt users in or out: do they agree to receive communications or do they ask not to be contacted anymore?

    Select amongst the three options below:

    • Opt in if checked: users need to check the box to consent (opt-in).
    • Opt out if checked: users need to check the box to remove their consent (opt-out).
    • Opt in if checked, opt out if unchecked: this option enables you to insert a single checkbox for opt-in/opt-out. Users need to check the box to consent (opt-in), and uncheck it to remove their consent (opt-out).
  5. For opt-in/opt-out checkboxes, select Make form field mandatory if you want to require users to select this checkbox before they can submit the form.

    note
    NOTE
    This option is selected by default.

    If this option is enabled and the user does not select the checkbox, the form cannot be submitted.

  6. Choose what will be updated between the three following options:

    • Subscription list: You must select the subscription list that will be updated if the profile selects this checkbox. Learn more about subscription lists. Each subscription list can be used only once on a primary page.

    • Channel (email): The opt-in or opt-out applies to the whole channel. For example, if a profile that opts out has two email addresses, both addresses will be excluded from all your communications.

    • Email identity: The opt-in or opt-out only applies to the email address that was used to access the landing page. For example, if a profile has two email addresses, only the one that was used to opt in will receive communications from your brand.

  7. Click Add field > Checkbox to add another checkbox. Repeat the steps above to define its properties.

  8. You can also add a Text field.

    • Enter the Label that will be displayed on top of the field in the form.

    • Enter a Placeholder text. It will be displayed inside the field before the user fills in the field.

    • Check the Make form field mandatory option if needed. In that case, the landing page can only be submitted if the user has filled in this field. If a mandatory field is not filled in, an error message will display when the user submits the page.

  9. Once you have added all the desired checkboxes and/or text fields, click Call to action to expand the corresponding section. It enables you to define the behavior of the button in the Form component.

  10. Define what will happen upon clicking the button:

    • Redirect URL: Enter the URL of the page the users will be redirected to.
    • Confirmation text: Type the confirmation text that will be displayed.
    • Link to a subpage: Configure a subpage and select it from the drop-down list that displays.

  11. Define what will happen upon clicking the button in case an error occurs:

    • Redirect URL: Enter the URL of the page the users will be redirected to.

    • Error text: Type the error text that will be displayed. You can preview the error text when defining the form styles.

    • Link to a subpage: Configure a subpage and select it from the drop-down list that displays.

  12. If you want to make additional updates upon submitting the form, select Opt in or Opt out, and define if you want to update a subscription list, the channel or just the email address used.

    note
    NOTE
    Each subscription list can be used only once in the form. If a checkbox already updates a subscription list, select a different list for the additional update, or the page returns a duplicate subscription list error. Learn more about landing page errors
  13. Save your content and click the arrow next to the page name to go back to the landing page properties.

Define landing page form styles lp-form-styles

  1. To modify the styles of your form component content, switch at any time to the Style tab.

  2. The Fields section is expanded by default and enables you to edit the appearance of the text field, such as the label and placeholder font, the position of the label, the field background color, or the field border.

  3. Expand the Checkboxes section to define the appearance of the checkboxes and corresponding text. For example, you can adjust the font family or size, or the checkbox border color.

  4. Expand the Buttons section to modify the appearance of the button in the component form. For example, you can change the font, add a border, edit the label color on hover, or adjust the alignment of the button.

    You can preview some of your settings such as button label color on hover using either simulation method. Learn more about testing landing pages

  5. Expand the Form layout section to edit the layout settings such as the background color, padding, or margin.

  6. Expand the Form error section to adjust the display of the error message that displays in case a problem occurs. Check the corresponding option to preview the error text on the form.

Embed a form (data capture) embed-form

For landing pages created with the Data Capture type, you can embed a published form that you created. Submissions are sent to the streaming connection and dataset configured in the form preset.

In the landing page content designer, follow the steps below.

  1. Drag and drop a Structure component into your content, then drag and drop the Form component into that structure.

    note
    NOTE
    Only published forms can be selected on the landing page.
  2. In the Embed form section, select the form to display.

    note
    NOTE
    Use Edit form if you need to change the form content or Thank you page behavior; the form opens in a new tab. Learn more about editing forms
  3. In the Follow up type section, define what happens after submit:

    • Form defined — Use the Thank you page action configured in the embedded form. Learn more
    • Published landing page — Redirect to another published landing page.
    • External URL — Redirect to a full URL.
  4. Save your landing page content when you are done.

For the full workflow (landing page creation, testing, and publishing), see Leverage the form in a landing page.

NOTE
This embedded form experience applies to Data Capture landing pages only.

Use primary page context use-primary-page-context

You can use contextual data coming from another page within the same landing page.

For example, if you link a checkbox to a subscription list on the primary landing page, you can use that subscription list on the “thank you” subpage.

Let us say you link two checkboxes on your primary page to two different subscription lists. If a user subscribes to one of these, you want to display a specific message upon submitting the form, depending on which checkbox they selected.

To do so, follow the steps below:

  1. On the primary page, link each checkbox of the Form component to the relevant subscription list. Learn more.

  2. On the subpage, place the pointer of your mouse where you want to insert your text and select Add personalization from the contextual toolbar.

  3. In the Edit personalization window, select Contextual attributes > Landing Pages > Primary Page Context > Subscription.

  4. All the subscription lists that you selected on the primary page are listed. Select the relevant items using the + icon.

  5. Add the relevant conditions using the personalization editor helper functions. Learn more

    note caution
    CAUTION
    If there is a special character such as a hyphen in the expression, you must escape the text including the hyphen.
  6. Save your changes.

Now when users select one of the checkboxes,

the message corresponding to the selected checkbox is displayed upon submitting the form.

NOTE
If a user selects the two checkboxes, both texts will display.
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to design landing page-specific content in Journey Optimizer: use the built-in form component for opt-in, opt-out and subscription scenarios, embed a published form on a Data Capture landing page, and use primary page context in a subpage.

Intents:

  • Design landing page content with the same components as for an email.
  • Add the built-in Form component to a landing page and configure its checkboxes, text fields and Call to action section for opt-in, opt-out and subscription scenarios.
  • Define the landing page-specific styles of the form component content in the Fields, Checkboxes, Buttons, Form layout and Form error sections.
  • Embed a published form on a Data Capture landing page and define what happens after submit in the Follow up type section.
  • Use contextual data coming from the primary page in a subpage, for example to display a message that depends on the subscription list checkbox a user selected.

Glossary:

  • Form component (product-specific): The landing page-specific component that enables users to select and submit their choices from a landing page.
  • Click-through landing page (product-specific): A landing page created without a Form component. The landing page is displayed to users, but they are not required to submit any form.
  • Opt in if checked: Users need to check the box to consent (opt-in).
  • Opt out if checked: Users need to check the box to remove their consent (opt-out).
  • Opt in if checked, opt out if unchecked: A single checkbox for opt-in/opt-out. Users need to check the box to consent (opt-in), and uncheck it to remove their consent (opt-out).
  • Subscription list (update option): The subscription list selected for the checkbox is updated if the profile selects this checkbox.
  • Channel (email) (update option): The opt-in or opt-out applies to the whole channel. For example, if a profile that opts out has two email addresses, both addresses are excluded from all your communications.
  • Email identity (update option): The opt-in or opt-out only applies to the email address that was used to access the landing page. For example, if a profile has two email addresses, only the one that was used to opt in receives communications from your brand.
  • Call to action (product-specific): The section of the Form component that defines the behavior of the button in the Form component, upon clicking it (Redirect URL, Confirmation text, Link to a subpage) and in case an error occurs (Redirect URL, Error text, Link to a subpage).
  • Follow up type (product-specific): The section of the landing page content designer, used when you embed a form, that defines what happens after submit: Form defined (use the Thank you page action configured in the embedded form), Published landing page (redirect to another published landing page) or External URL (redirect to a full URL).
  • Primary page context (product-specific): Contextual data coming from the primary page that you can use in a subpage of the same landing page, available in the Edit personalization window under Contextual attributes > Landing Pages > Primary Page Context > Subscription.

Guardrails:

  • The built-in Form component can only be used once on the same page.
  • Each subscription list can be used only once on a primary page.
  • For opt-in/opt-out checkboxes, Make form field mandatory is selected by default. If this option is enabled and the user does not select the checkbox, the form cannot be submitted.
  • When Make form field mandatory is checked for a Text field, the landing page can only be submitted if the user has filled in this field. If a mandatory field is not filled in, an error message displays when the user submits the page.
  • Only published forms can be selected on a Data Capture landing page.
  • When using primary page context, if there is a special character such as a hyphen in the expression, you must escape the text including the hyphen.

Applicability:

  • The embedded form experience applies to Data Capture landing pages only.

Terminology:

  • Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Experience Platform

FAQ:

  • Can I create a landing page without a Form component? Yes. You can create a click-through landing page without a Form component: the landing page is displayed to users, but they are not required to submit any form.
  • What is the difference between the Channel (email) and Email identity options? With Channel (email), the opt-in or opt-out applies to the whole channel. With Email identity, it only applies to the email address that was used to access the landing page.
  • Where are the submissions of an embedded form sent? Submissions are sent to the streaming connection and dataset configured in the form preset.
  • How do I change the content or Thank you page behavior of an embedded form? Use Edit form in the Embed form section; the form opens in a new tab.
  • What happens if a user selects the two checkboxes linked to two subscription lists in the primary page context example? Both texts display on the subpage.

Troubleshooting:

  • Duplicate subscription list error: Each subscription list can be used only once in the form. If a checkbox already updates a subscription list and the additional update upon submitting the form uses the same list, the page returns a duplicate subscription list error. Select a different list for the additional update.

Examples:

  • Primary page context: you link two checkboxes of the Form component on the primary page to two different subscription lists. On the “thank you” subpage, you insert the subscription lists through Add personalization and add conditions with the personalization editor helper functions, so that the message corresponding to the selected checkbox is displayed upon submitting the form.

Related pages:

Personas:

  • marketer: Can drag and drop the landing page-specific Form component from the left palette into the main workspace. Can edit checkbox labels, add text fields and define the Call to action section. Can choose whether each checkbox updates a subscription list, the Channel (email) or the Email identity. The page states that the Form component can only be used once on the same page. Where: “Use the form component”.

Onboarding:

  • Level: Beginner
  • First minimal step: Drag and drop the landing page-specific Form component from the left palette into the main workspace.
  • Next: After you save your content, go back to the landing page properties: landing page properties
recommendation-more-help
journey-optimizer-help