メールへのビジュアルフラグメントの追加 use-visual-fragments

このページ:​再利用可能なビジュアルフラグメントをメールに挿入し、編集可能なフィールドをカスタマイズする方法や、元のフラグメントとの継承を解除または維持する方法について説明します。

フラグメントは、Journey Optimizerのキャンペーン、ジャーニー、コンテンツテンプレートをまたいで、1つまたは複数のメールで参照できる再利用可能なコンポーネントです。 この機能を使用すると、マーケティングユーザーが改善されたデザインプロセスでメールコンテンツを迅速に組み立てるために使用できる複数のカスタムコンテンツブロックを事前に作成できます。 詳しくは、フラグメントの作成と管理の方法を参照してください。

➡️ フラグメントの管理、作成、使用方法について詳しくは、このビデオを参照してください。

フラグメントの使用 use-fragment

メールでフラグメントを使用するには、次の手順に従います。

NOTE
バリエーションごとに最大60個のユニークフラグメントを追加できます。 多言語メッセージでは、すべてのバリエーションに最大120個の個別のフラグメントを追加できます。 フラグメントをネストできるのは 1 レベルまでです。
  1. E メールデザイナーを使用して、メールまたはテンプレートのコンテンツを開きます。

  2. 左パネルから「フラグメント」アイコンを選択します。

  3. 現在のサンドボックスで作成されたすべてのビジュアルフラグメントのリストが表示されます。 フラグメントは作成日で並べ替えられます。最近追加したビジュアルフラグメントがリストの最初に表示されます。 次の操作を実行できます。

    • 特定のフラグメントのラベルを入力して、そのフラグメントを検索します。
    • フラグメントを昇順または降順に並べ替えます。
    • フラグメントの表示方法(カード表示またはリスト表示)を変更します。
    • リストを更新します。
    note
    NOTE
    コンテンツの編集中に一部のフラグメントが変更または追加された場合、リストは最新の変更内容に更新されます。
  4. リストからフラグメントを挿入する領域にドラッグ&ドロップします。

    note caution
    CAUTION
    任意の​ ドラフト ​または​ ライブ ​フラグメントをコンテンツに追加できます。 ただし、「ドラフト」ステータスのフラグメントを使用している場合、ジャーニーまたはキャンペーンをアクティブ化することはできません。 ジャーニーまたはキャンペーンの公開時に、ドラフトフラグメントにエラーが表示され、公開できるようにするには承認が必要です。
  5. 他のコンポーネントと同様に、コンテンツ内でフラグメントを移動できます。

  6. フラグメントを選択すると、右側に対応するパネルが表示されます。 ここから、コンテンツからフラグメントを削除したり、複製したりできます。 また、これらのアクションは、フラグメントの上部に表示されるコンテキストメニューから直接実行することもできます。

  7. 「設定」タブから、次の操作を実行できます。

    • フラグメントを表示するデバイスを選択します。
    • 必要に応じて、新しいタブでフラグメントを開いて編集します。 詳細情報
    • 参照を探索します。 詳細情報
  8. 必要に応じて、元のフラグメントの継承を解除できます。 詳細情報

    ロックを解除したら、フラグメントを他のコンポーネントとしてさらにカスタマイズし、「スタイル」タブを使用できます。

  9. 必要な数のフラグメントを追加し、変更内容を​ 保存 ​します。

フラグメントでの条件付きコンテンツの管理 fragment-dynamic-content

条件付きコンテンツを含むビジュアルフラグメント操作する際は、次のガイドラインに従います。 動的コンテンツの詳細情報

CAUTION
条件付きコンテンツを含むフラグメントのネストはサポートされていません。 条件付きコンテンツを含むフラグメントは、条件付きコンテンツも含むロック解除されたフラグメント内に配置できません。 この設定はサポートされていないため、次の問題が発生する場合があります。
  • 条件付きコンテンツバリアントマッピングの消失
  • E メールデザイナーでの互換性モードに関する警告
  • メールレンダリングの一貫性の欠如

メールを適切に構造化:​条件付きコンテンツを含む複数のフラグメントを使用する際は、各フラグメントをメールレベルで独自の構造ブロックに直接追加します。 条件付きコンテンツを含むフラグメントを、条件付きコンテンツも含む他のロック解除されたフラグメント内にネストすることは回避します。

事前に計画:​メールにフラグメントを追加する前に、条件付きコンテンツを含むフラグメントを特定し、それに応じてレイアウトを計画します。 これにより、設定の問題を防ぎ、最初からクリーンな構造を確保できます。

再利用可能なフラグメントを慎重にデザイン:​条件付きコンテンツを含むフラグメントを作成する際は、その使用方法を考慮します。 フラグメントを他のフラグメント内にネストする必要がある場合は、親フラグメントと子フラグメントの両方に条件付きコンテンツを追加することを回避します。

トラブルシューティング:​条件付きコンテンツバリアントのマッピングが消失したり、互換性モードに関する警告が表示されたりする場合は、次の手順に従います。

  • 条件付きコンテンツを含むネストされたフラグメントのメール構造を確認
  • 条件付きコンテンツを含む各フラグメントをメールレベルで独自の構造ブロックに移動して再構築
  • 保存して、条件付きコンテンツバリアントが適切に復元されていることを確認
NOTE
フラグメントが動的コンテンツを使用しており、デフォルトの状態が空の場合、E メールデザイナーでメールに追加すると、フラグメントが空白で表示される場合があります。 これは想定されている動作です。システムはデフォルトのバリアントをフォールバックとして使用して、一貫性を確保します。 実際のコンテンツをプレビューするには、フラグメントの動的コンテンツルールで定義された条件を満たすプロファイルを使用して、メールをシミュレートします。

暗黙的変数の使用 implicit-variables-in-fragments

暗黙的変数は、既存のフラグメント機能を強化して、コンテンツの再利用性とスクリプトのユースケースの効率を向上させます。 フラグメントでは入力変数を使用し、キャンペーンおよびジャーニーコンテンツで使用可能な出力変数を作成できます。

暗黙的変数の使用方法については、この節を参照してください。

編集可能フィールドのカスタマイズ customize-fields

選択したフラグメントの一部が編集可能になっている場合は、そのフラグメントをコンテンツに追加した後で、そのデフォルト値を上書きできます。 フラグメントをカスタマイズ可能にする方法の詳細情報

メールで使用するフラグメント内の編集可能なフィールドをカスタマイズするには、次の手順に従います。

  1. メールのコンテンツにカスタマイズ可能なフラグメントを追加し、これを選択して右側の​ フラグメント ​パネルを開きます。

  2. フラグメント内のすべての編集可能フィールドが「設定」タブのフラグメントプロパティに表示されます。

    次の例では、画像ソースと代替テキストのほか、「タイトル」/「サブタイトル」のフィールドおよび「詳細情報」ボタンの URL が編集可能です。

  3. 中央のキャンバス内で編集可能なフィールドにポインタを合わせます。 フィールドが緑色でハイライト表示され、含まれているテキストをクリックすると鉛筆アイコンが表示されます。

    {align="center" width="80%"}

  4. 中央の E メールデザイナーキャンバスで、フィールドテキストをインラインで直接編集します。

    note
    NOTE
    コンテンツ内の編集可能なフィールドを簡単に見つけるには、右側のパネルから選択することもできますが、これらのフィールドは中央のキャンバス内でのみ編集できます。
  5. テキスト、ボタン、HTML コンポーネントの場合、E メールデザイナーのツールバーでは、太字、斜体、ハイパーリンクなどのリッチテキスト書式設定オプションにもアクセスできます。

    E メールデザイナーのツールバーのリッチテキスト書式設定オプション

    note tip
    TIP
    リッチテキスト編集機能が導入される前に作成したフラグメントでは、デフォルトで編集可能フィールドがテキストのみのモードに設定されています。 完全な書式設定オプションを有効にするには、「フラグメントを開く」ボタンを使用してフラグメントエディターに移動し、「有効にする」をクリックしてリッチテキストモードをロック解除し、フラグメントを​ 保存 ​します。 詳細情報

    E メールデザイナーでの互換性に関する警告 {align="left" width="50%" modal="regular"}

  6. 「コンテンツをシミュレート」をクリックして、編集可能なコンテンツとスタイルのレンダリング方法を確認できます。 コンテンツのプレビューの詳細情報

CAUTION
フラグメントでボタンコンポーネントの​ ラベル ​と URL の両方を編集可能にした場合、トラッキングレポートにはボタンラベルの代わりに URL が表示されます。 詳しくは、トラッキングを参照してください

継承の解除 break-inheritance

ビジュアルフラグメントを編集すると、変更内容が同期されます。 これらは、そのフラグメントを含むすべてのドラフトまたはライブのジャーニー/キャンペーンおよびコンテンツテンプレートに自動的に生成されます。

メールまたはコンテンツテンプレートに追加すると、フラグメントはデフォルトで同期されます。 ただし、元のフラグメントからの継承を解除することはできます。 フラグメントのコンテンツは現在のデザインにコピーされ、変更内容は同期されなくなります。

継承を解除するには、次の手順に従います。

  1. フラグメントを選択します。

  2. コンテキストツールバーのロック解除アイコンをクリックします。

  3. そのフラグメントは、元のフラグメントにリンクされなくなったスタンドアロン要素になります。 コンテンツ内の他のコンテンツコンポーネントと同様に編集します。 詳細情報

ロックされたフラグメント locked-fragments

フラグメントが作成者によってロックされている場合、ロック解除アイコンはグレー表示され、継承の解除に使用できません。

ロックされたフラグメントは、表示されるすべての場所で同期が維持され、ブランド標準やコンプライアンス要件に違反する可能性のあるローカル編集を防ぐことができます。

フラグメントのロック方法について詳しくは、この節を参照してください。

NOTE
フラグメント作成者は、フラグメント設定で動作を​ 継承の解除を許可 ​にリセットして、後で今後の使用のために設定を変更できます。
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 insert visual fragments into email content in the Email Designer, customize their editable fields, manage conditional content in fragments, and break or keep their inheritance with the original fragment.

Intents:

  • Insert a visual fragment into an email or template content by selecting the Fragments icon from the left rail of the Email Designer and dragging the fragment into the content.
  • Search, sort, change the display (cards or list view) and refresh the list of visual fragments created on the current sandbox.
  • Delete or duplicate a fragment in the content from the right pane or from the contextual menu on top of the fragment.
  • From the Settings tab of a fragment, choose the devices the fragment is displayed on, open the fragment in a new tab to edit it, or explore references.
  • Override the default value of the editable fields of a customizable fragment inline on the central Email Designer canvas.
  • Break the inheritance with the original fragment using the unlock icon of the contextual toolbar, then customize the fragment as any other component.

Glossary:

  • Fragment (product-specific): A reusable component that can be referenced in one or more emails across Journey Optimizer campaigns, journeys or content templates.
  • Break inheritance (product-specific): The content of the fragment is copied into the current design, the changes are not synchronized anymore, and the fragment becomes a standalone element that is not linked anymore to the original fragment.
  • Locked fragment (product-specific): A fragment locked by its author. Locked fragments remain synchronized everywhere they appear, preventing local edits that could break brand standards or compliance requirements.
  • Editable fields (product-specific): Portions of a fragment that have been made editable. You can override their default value after adding the fragment into your content.
  • Implicit variables (product-specific): Fragments can use input variables and create output variables usable in campaign and journey content.

Guardrails:

  • You can add up to 60 unique fragments per variant.
  • In a multilingual message, you can add up to 120 distinct fragments across all variants.
  • Fragments can only be nested up to 1 level.
  • You cannot activate a journey or campaign if a fragment with the Draft status is being used in it. At journey or campaign publication, draft fragments show an error and you need to approve them to be able to publish.
  • Nesting fragments with conditional content is not supported: you cannot place a fragment containing conditional content inside an unlocked fragment that also contains conditional content. This configuration can cause loss of conditional content variant mappings, compatibility mode warnings in the Email Designer and inconsistent email rendering.
  • You can select editable fields from the right-hand pane to locate them, but you can only edit these fields in the central canvas.
  • When both the label and URL of a button component are made editable in a fragment, tracking reports show the URL instead of the button label.
  • If the fragment was locked by its author, the unlock icon is greyed out and cannot be used to break inheritance.

Terminology:

  • Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
  • Canonical name: Visual fragment — variants: fragment

FAQ:

  • Can I add a Draft fragment to my email? Yes. You can add any Draft or Live fragment to your content, but you cannot activate your journey or campaign if a fragment with the Draft status is being used in it.
  • What happens to my email when the original fragment is edited? When added to an email or a content template, fragments are synchronized by default: the changes are automatically propagated to all draft or live journeys/campaigns and content templates containing that fragment. After you break the inheritance, the changes are not synchronized anymore.
  • Why can I not break the inheritance of a fragment? The fragment was locked by its author. The fragment author can change the setting later for future usages by resetting its behavior to Allow inheritance to be broken in the fragment settings.
  • Why are rich-text formatting options not available for the editable fields of a fragment? Fragments created before the rich-text editing capability was introduced have editable fields set to text-only mode by default. To enable full formatting options, go to the fragment editor using the Open fragment button, select Enable to unlock rich-text mode and Save the fragment.
  • Which components offer rich-text formatting for editable fields? For Text, Button, and Html components, the Email Designer toolbar gives access to rich-text formatting options, such as bold, italic and hyperlinks.
  • How can I see how the editable content and styling render? Select Simulate content.

Troubleshooting:

  • Lost conditional content variant mappings or compatibility mode warnings: Check your email structure for nested fragments containing conditional content, restructure by moving each fragment with conditional content into its own structure block at the email level, then save and verify that conditional content variants are properly restored.
  • Fragment appears blank when added to an email in the Email Designer: If a fragment uses dynamic content and its default state is empty, the fragment may appear blank. This is expected behavior: the system uses the default variant as a fallback to ensure consistency. To preview the actual content, simulate your email using a profile that meets the conditions defined in the dynamic content rules of the fragment.

Best practices:

  • When using multiple fragments with conditional content, add each fragment directly into its own structure block at the email level.
  • Before adding fragments to your email, identify which ones contain conditional content and plan your layout accordingly.
  • When creating fragments that will include conditional content, consider how they will be used. If a fragment needs to be nested within other fragments, avoid adding conditional content to both the parent and child fragments.

Related pages:

Personas:

  • marketer: Can insert a visual fragment into email or template content by selecting the Fragments icon from the left rail and dragging it into the content. Can override the default value of the editable fields of a customizable fragment inline on the central Email Designer canvas. Can break the inheritance with the original fragment using the unlock icon of the contextual toolbar. The page states that a journey or campaign cannot be activated if a fragment with the Draft status is being used in it. Where: “Use a fragment”.

Onboarding:

  • Level: Beginner
  • First minimal step: Open any email or template content using the Email Designer.
recommendation-more-help
journey-optimizer-help