Fragment authoring

After you create a fragment, use the visual design space to author the structure and content components in your fragment.

Add structure and content design-fragment

  1. To start your content design, drag an item from the Structures and drop it onto the canvas.

    Add as many items from Structures as you need and edit the settings for each in the pane on the right.

    note tip
    TIP
    Select the n:n column component to define the number of columns of your choice (between three and 10). You can also define the width of each column by moving the arrows below the column.

    Drag a structure onto the canvas and adjust the settings {width="800" modal="regular"}

    Each column size cannot be less than 10% of the total width of the structure component. Only empty columns can be removed.

    For more information about using and formatting these components, see Structure components.

  2. Expand the Contents section and add as many content components as you need into one or more structure components.

    Drag a content element onto the canvas and adjust the settings {width="800" modal="regular"}

  3. If needed, you can make additional customizations for each component in the Settings or Style tabs.

    For example, you can change the text style, padding, or margin of each component.

  4. To add conditional content and adapt the content to the targeted profiles based on conditional rules, select a content component and click the Enable conditional content icon in the component toolbar.

    For more information, see Conditional content.

Add assets add-assets

In the visual design space, select the Assets ( Assets icon ) icon in the left navigation bar to browse and select image assets from the Marketo Optimizer asset library.

For steps to select, replace, or upload image assets, see Use assets for content authoring.

As you work with the content in the visual design space, you can access the components, columns, and content elements using the navigation tree. Click the Navigation tree icon ( Navigation tree icon ) on the left to display the tree.

Access the content layers {width="800" modal="regular"}

The following example outlines steps to adjust padding and vertical alignment inside a structure component with columns.

  1. Select the column in the structure component directly in the canvas or using the Navigation tree displayed at the left.

  2. From the column toolbar, click the Select a column tool and choose the one that you want to edit.

    You can also select it from the structure tree. The editable parameters for that column are displayed in the Settings and Styles tabs on the right.

    Column components displayed in the visual designer {width="800" modal="regular"}

  3. To edit the column properties, click the Styles tab on the right and change them according to your needs:

    • For Background, change the background color as needed.

      Clear the check box for a transparent background. Enable the Background image setting to use an image as the background instead of a solid color.

    • For Alignment, select the Top, Middle, or Bottom icon.

    • For Padding, define the padding for all sides.

      Select Different padding for each side if you want to fine tune the padding. Click the Lock icon to break synchronization.

    • Expand the Advanced section to define inline styles for the column.

    Change the styles for the selected column {width="700" modal="regular"}

  4. If needed, repeat these steps to adjust the alignment and padding for the other columns in the component.

  5. Save your changes.

Personalize content personalize-content

Marketo Optimizer uses Handlebars syntax for personalization. Tokens are replaced at send time with values from each recipient’s profile data.

To add personalization:

  1. Select the text component and click the Add personalization ( Personalize icon ) icon in the toolbar.
  2. In the personalization dialog, browse the schema tree on the left and select a profile attribute. The editor inserts the corresponding Handlebars expression — for example, {{profile.firstName}}.
  3. Add a fallback value to handle missing data, if needed — for example, {{profile.firstName | default: "there"}}.
  4. Click Confirm or Insert. The expression appears inline in the field.

For details about expression editor tools and syntax, see Personalization editor.

Edit linked URL tracking edit-linked-url-tracking

The link tracking panel provides a centralized view where you can easily locate each URL in the content. Click the Links icon ( Show links icon ) on the left to display all the linked URLs in your content. These are the links within text, button, or image components.

To define tracking for a listed content link, click the Edit ( Edit icon ) icon and modify the Tracking Type or Label.

recommendation-more-help
marketo-optimizer-help-user-guide