사용자 정의 가능한 조각 customizable-fragments

이 페이지에서: 사용자가 캠페인 또는 여정에 조각을 추가할 때 원본 조각의 상속을 중단하지 않고 사용자 지정할 수 있도록 시각적 및 표현식 조각의 특정 필드를 편집할 수 있도록 하는 방법에 대해 알아봅니다.

조각이 캠페인이나 여정 작업에 사용되면 상속으로 인해 기본적으로 잠깁니다. 즉, 조각에 수행된 모든 변경 사항은 조각이 사용되는 모든 캠페인 및 여정에 자동으로 전파됩니다.

사용자 지정 가능한 조각​을 사용하여 캠페인 또는 여정 작업에 조각을 추가할 때 조각 내의 특정 필드를 편집 가능한 것으로 정의할 수 있습니다. 예를 들어 배너, 일부 텍스트 및 버튼이 있는 조각이 있다고 가정해 보겠습니다. 이미지 또는 단추 대상 URL과 같은 특정 필드를 편집 가능한 것으로 지정할 수 있습니다. 이렇게 하면 사용자가 조각을 캠페인이나 여정에 통합할 때 이러한 요소를 수정할 수 있으므로 원본 조각에 영향을 주지 않고 맞춤 경험을 제공할 수 있습니다.

사용자 지정 가능한 조각은 이전에 조각 수준에서 중앙 집중식 변경 내용이 캠페인 및 여정에 전파되지 않도록 중단했던 조각 상속을 중단하지 않아도 됩니다. 이 접근 방식을 사용하면 콘텐츠 부분을 사용할 때 조정할 수 있으므로 컨텍스트별 세부 사항으로 기본값을 유연하게 대체할 수 있습니다.

사용자 지정 가능한 조각을 활용함으로써 완전히 새로운 콘텐츠 블록을 만들거나 원본 조각의 상속을 중단하지 않고도 콘텐츠를 효율적으로 관리하고 개인화할 수 있습니다. 이렇게 하면 조각 수준에서 수행된 변경 사항이 계속 전파되는 동시에 캠페인 또는 여정 수준에서 필요한 사용자 지정을 허용할 수 있습니다.

시각적 조각과 표현식 조각을 모두 사용자 지정으로 표시할 수 있습니다. 각 조각 유형을 계속 진행하는 방법에 대한 자세한 지침은 아래 섹션을 참조하십시오.

시각적 조각에 편집 가능한 필드 추가 visual

시각적 조각의 일부를 편집할 수 있도록 하려면 다음 단계를 수행합니다.

NOTE
편집 가능한 필드는 이미지, 텍스트 및 단추 구성 요소에 추가할 수 있습니다. HTML 구성 요소의 경우 표현식 조각과 유사하게 개인화 편집기를 사용하여 편집 가능한 필드가 추가됩니다. HTML 구성 요소 및 식 조각에서 편집 가능한 필드를 추가하는 방법을 알아봅니다
  1. 조각 콘텐츠 편집 화면을 엽니다.

  2. 조각에서 편집 가능한 필드를 구성할 구성 요소를 선택합니다.

  3. 오른쪽에 구성 요소 속성 창이 열립니다. 편집 가능한 필드 탭을 선택한 다음 편집 사용 옵션을 전환합니다.

  4. 선택한 구성 요소에 대해 편집할 수 있는 모든 필드가 창에 나열됩니다. 편집할 수 있는 필드는 선택한 구성 요소 유형에 따라 다릅니다.

    아래 예에서는 “여기를 클릭” 버튼 URL의 편집을 허용합니다.

  5. 편집 가능한 모든 필드와 해당 기본값을 확인하려면 개요​를 클릭하십시오.

    이 예에서 버튼 URL 필드는 구성 요소에 정의된 기본값으로 표시됩니다. 사용자는 콘텐츠에 조각을 추가한 후 이 값을 사용자 지정할 수 있습니다.

  6. 준비가 되면 변경 사항을 저장하여 조각을 업데이트합니다.

  7. 조각을 이메일에 추가하면 사용자는 조각에 구성된 편집 가능한 모든 필드를 사용자 지정할 수 있습니다. 시각적 조각에서 편집 가능한 필드를 사용자 지정하는 방법에 대해 알아봅니다.

CAUTION
버튼 구성 요소의 label 및 URL​을(를) 모두 조각에서 편집할 수 있게 되면 추적 보고서에 버튼 레이블 대신 URL이 표시됩니다. 추적에 대해 자세히 알아보기

사용자 정의 가능한 시각적 조각에서 서식 있는 텍스트 편집 활성화 rich-text-visual

서식 있는 텍스트 은(는) 이제 사용자 지정 가능한 시각적 조각에서 기본적으로 지원됩니다.

사용자 지정 가능한 시각적 조각을 전자 메일에 사용할 경우 조각의 텍스트, 단추 및 Html 구성 요소의 편집 가능한 필드 내에서 굵게, 기울임꼴, 줄 바꿈, 글머리 기호 목록 및 하이퍼링크와 같은 전체 서식 옵션을 직접 활용할 수 있습니다. 편집 가능한 필드를 사용자 지정하는 방법을 알아봅니다

그러나 리치 텍스트 기능이 도입되기 전에 조각을 만들고 편집 가능한 필드를 정의한 경우 편집 가능한 필드는 기본적으로 텍스트 전용 모드로 설정됩니다.

  • 조각 편집기에 호환성 경고가 표시됩니다.

    {width="100%"}

    전자 메일에서 조각을 사용할 때 이러한 편집 가능한 필드에 대한 서식 있는 텍스트 모드의 잠금을 해제하려면 활성화 단추를 클릭하고 조각을 저장합니다.

  • 이메일에 조각을 추가하면 이메일 Designer에서 조각을 선택할 때도 호환성 경고가 표시됩니다.

    조각을 서식 있는 텍스트 모드로 업그레이드하려면 조각 열기 단추를 사용하여 조각 편집기에 액세스하고 사용 단추를 클릭하고 조각을 저장하십시오.

리치 텍스트 모드가 잠금 해제될 때까지 사용자 지정 가능한 기존 시각적 조각은 일반 텍스트만 계속 지원합니다. 사용자는 이러한 조각의 편집 가능한 필드에 서식 있는 텍스트를 입력할 수 없습니다. 조각이 렌더링될 때 이러한 조각에서 편집 가능한 텍스트를 잘라낼 수도 있습니다. 이를 방지하려면 서식 있는 텍스트 모드를 활성화합니다.

CAUTION
리치 텍스트를 활성화하면 해당 조각을 이미 사용 중인 여정, 캠페인 또는 템플릿에서 스타일이 손실될 수 있습니다. 이 문제를 해결하려면 영향을 받는 콘텐츠(이메일 또는 템플릿)의 스타일을 수정하거나 서식 있는 텍스트가 활성화된 새 조각을 만든 다음 이전 조각을 콘텐츠의 새 조각으로 바꾸십시오.

HTML 구성 요소 및 표현식 조각에 편집 가능한 필드 추가 expression

HTML 구성 요소 또는 표현식 조각의 일부를 편집할 수 있도록 하려면 표현식 편집기에서 특정 구문을 사용해야 합니다. 여기에는 콘텐츠에 조각을 추가한 후 사용자가 재정의할 수 있는 기본값으로 변수​을(를) 선언하는 작업이 포함됩니다.

예를 들어, 이메일에 추가할 조각을 만들고 사용자가 프레임 또는 버튼의 배경색과 같이 다른 위치에서 사용되는 특정 색상을 사용자 지정할 수 있도록 허용하려고 한다고 가정합니다. 조각을 만들 때는 "color"와 같은 고유 ID​를 가진 변수를 선언하고 이 색상을 적용할 조각 콘텐츠의 원하는 위치에서 호출해야 합니다. 조각을 콘텐츠에 추가하면 사용자는 변수가 참조되는 곳마다 사용되는 색상을 사용자 지정할 수 있습니다.

HTML 구성 요소의 경우 특정 요소만 편집 가능한 필드가 될 수 있습니다. 자세한 내용을 보려면 아래 섹션을 확장하십시오.

HTML 구성 요소에서 편집 가능한 요소:

아래 요소는 HTML 구성 요소에서 편집 가능한 필드가 될 수 있습니다.

  • 텍스트 일부
  • 링크 또는 이미지에 대한 전체 URL(URL의 일부에서는 작동하지 않음)
  • 전체 CSS 속성(부분 속성과 함께 작동하지 않음)

예를 들어 아래 코드에서 빨간색으로 강조 표시된 각 요소는 속성이 될 수 있습니다.

{width="70%"}

변수를 선언하고 조각에서 사용하려면 다음 단계를 따르십시오.

  1. 표현식 조각을 연 다음 개인화 편집기에서 콘텐츠를 편집합니다.

    HTML 구성 요소의 경우 조각에서 구성 요소를 선택하고 소스 코드 표시 단추를 클릭합니다.

  2. 사용자가 편집할 변수를 선언합니다. 왼쪽 탐색 창에서 도우미 함수 메뉴로 이동한 다음 인라인 도우미 함수를 추가합니다. 변수를 선언하고 호출하는 구문은 콘텐츠에 자동으로 추가됩니다.

  3. 편집 가능한 필드를 식별하려면 "name"을(를) 고유 ID로 바꾸십시오.

    note
    NOTE
    필드 ID는 고유해야 하며 공백이 없어야 합니다. 이 ID는 변수의 값을 표시하려는 콘텐츠의 모든 곳에서 사용해야 합니다.
  4. 아래 표에 설명된 매개 변수를 추가하여 필요에 맞게 구문을 조정합니다.

    table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3
    작업 매개 변수 예
    편집 가능한 필드를 기본값(으)로 선언합니다. 조각을 콘텐츠에 추가할 때 사용자 지정하지 않으면 이 기본값이 사용됩니다. 인라인 태그 사이에 기본값을 추가합니다. {{#inline "editableFieldID"}}default_value{{/inline}}
    편집 가능한 필드에 대해 레이블​을(를) 정의합니다. 이 레이블은 조각의 필드를 편집할 때 이메일 Designer에 표시됩니다. name="title" {{#inline "editableFieldID" name="title"}}default_value{{/inline}}
    게시해야 하는 이미지 소스​가 포함된 편집 가능한 필드를 선언하십시오. assetType="image" {{#inline "editableFieldID" assetType="image"}}default_value{{/inline}}
    추적해야 하는 URL​이(가) 포함된 편집 가능한 필드를 선언합니다.
    기본 제공되는 “미러 페이지 URL” 및 “구독 취소 링크” 미리 정의된 블록은 편집 가능한 필드가 될 수 없습니다.
    assetType="url" {{#inline "editableFieldID" assetType="url"}}default_value{{/inline}}
  5. 편집 가능한 필드 값을 표시할 모든 위치에서 코드에 {{{name}}} 구문을 사용합니다. name을(를) 이전에 정의된 필드의 고유 ID로 바꾸십시오.

  6. 조각을 저장하고 게시합니다.

이제 이메일 콘텐츠에 조각을 추가할 때 변수의 기본값을 선택한 값으로 재정의할 수 있습니다.

예: 사용자 정의 가능한 표현식 조각 example

아래 예제에서는 새로운 스포츠 컬렉션을 나타내는 표현식 조각을 만들고 있습니다. 기본적으로 조각은 다음 콘텐츠를 표시합니다. 더 많은 콘텐츠를 찾고 계십니까? 최신 스포츠 컬렉션을 놓치지 마세요!

사용자가 이 콘텐츠의 "스포츠"를 선택한 스포츠로 대체할 수 있도록 허용하려고 합니다. 예를 들어 더 많은 항목을 찾고 계십니까? 최신 요가 컬렉션을 놓치지 마세요!

방법은 다음과 같습니다.

  1. ID가 "sport"인 “sport” 변수를 선언합니다.

    기본적으로 사용자가 컨텐츠에 조각을 추가한 후 변수 값을 변경하지 않으면 {{#inline}}과(와) {{/inline}} 태그 사이에 정의된 값(예: “sports”)이 표시됩니다.

  2. 변수 값(예: 기본적으로 “sports”) 또는 사용자가 선택한 값을 표시할 조각 콘텐츠에 {{{sport}}} 구문을 추가합니다.

  3. 콘텐츠에 표현식 조각을 추가할 때 사용자는 표현식 편집기에서 직접 선택하여 변수 값을 변경할 수 있습니다. 식 조각에서 편집 가능한 필드를 사용자 지정하는 방법에 대해 알아봅니다.

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: The page explains how to define specific fields of visual fragments, HTML components and expression fragments as editable, so that users can modify them when they add the fragment to a campaign or journey action without affecting the original fragment.

Intents:

  • Make fields of image, text and button components in a visual fragment editable, from the Editable fields tab of the component properties pane with the Enable edition option toggled.
  • Select Overview to check all the editable fields of a visual fragment and their default values.
  • Unlock rich-text mode for the editable fields of a customizable visual fragment created before the rich-text capability was introduced.
  • Make portions of an HTML component or an expression fragment editable with the inline helper function of the Helper functions menu and the {{{name}}} syntax.
  • Define a label that displays in the Email Designer for an editable field of an HTML component or an expression fragment, or declare an editable field containing an Image source that needs to be published or a URL that needs to be tracked.

Glossary:

  • Customizable fragments (product-specific): Fragments in which specific fields are defined as editable when the fragment is added to a campaign or journey action, so that users can modify these fields without affecting the original fragment.
  • Inheritance (product-specific): When fragments are used in a campaign or journey action, they are locked by default due to inheritance: any changes made to a fragment are automatically propagated to all campaigns and journeys where the fragment is used.
  • Variable (product-specific): In an HTML component or an expression fragment, an editable field declared with a unique ID and a default value that users can override after adding the fragment to their content.
  • Rich-text mode (product-specific): The mode in which the editable fields of the Text, Button, and Html components of a customizable visual fragment used in an email accept full formatting options such as bold, italic, line breaks, bulleted lists, and hyperlinks.
  • Text-only mode (product-specific): The default mode of the editable fields of customizable visual fragments whose editable fields were defined before the rich-text capability was introduced.

Guardrails:

  • For HTML components, only specific elements can become editable fields: a portion of text, a full URL for a link or image (a portion of a URL does not work), and an entire CSS property (a partial property does not work).
  • In HTML components and expression fragments, the field ID of an editable field must be unique and must not have spaces.
  • In HTML components and expression fragments, out-of-the-box “Mirror page URL” and “Unsubscribe link” predefined blocks cannot become editable fields.
  • When both the label and the URL of a button component are made editable in a fragment, tracking reports show the URL instead of the button label.
  • Until the rich-text mode is unlocked, the legacy customizable visual fragments continue to support plain text only, and users cannot enter rich text into the editable fields of these legacy fragments.
  • Editable text in the legacy customizable visual fragments can be cut off when the fragment is rendered. Enabling rich-text mode avoids this.
  • Enabling rich text may cause styling loss in journeys, campaigns, or templates already using the fragment. To work around this, either correct the styling in the affected contents (email or template), or create a new fragment with rich text enabled, then replace the old fragment with the new one in your contents.

Terminology:

  • Canonical name: Customizable fragments
  • Canonical name: Rich-text mode — variants: rich text

FAQ:

  • Are changes made to the original fragment still propagated when its fields are editable? Yes. Customizable fragments eliminate the need to break fragment inheritance: changes made at the fragment level are still propagated, while customization is possible at the campaign or journey level.
  • Which fragments can be marked as customizable? Both visual and expression fragments can be marked as customizable.
  • Which value does an editable field of an HTML component or an expression fragment use if users do not customize it? The default value added between the inline tags is used when the fragment is added to content and the field is not customized.
  • How do users override the default values of variables after adding the fragment to their email content? For expression fragments, a specific syntax is used to override the variable values. For HTML components, the variable displays in the list of editable fields in the Email Designer.
  • Can rich text be entered in the editable fields of a customizable visual fragment? Yes, in the Text, Button, and Html components when the fragment is used in an email, except in legacy customizable visual fragments until rich-text mode is unlocked.

Troubleshooting:

  • A compatibility warning is displayed in the fragment editor: The editable fields of the fragment are in text-only mode. To unlock rich-text mode for the editable fields when using the fragment in an email, select the Enable button and save the fragment.
  • A compatibility warning is displayed when selecting the fragment in the Email Designer: The fragment was added to an email and its editable fields are in text-only mode. To upgrade the fragment to rich-text mode, use the Open fragment button to access the fragment editor, select the Enable button and save the fragment.

Examples:

  • Customizable fragment: a fragment with a banner, some text, and a button, in which fields such as the image or the button target URL are designated as editable.
  • Visual fragment: the “Click here” button URL is made editable; in Overview, the button URL field displays with the default value defined in the component.
  • HTML component or expression fragment: a variable with the unique ID “color” is called at the locations where the color applies, such as frames or buttons’ background colors, so that users can customize the color wherever the variable is referenced.
  • Expression fragment: a fragment presenting new sports collections declares a variable with the ID “sport” and the default value “sports”, and uses {{{sport}}} in its content, so that users can replace “sports” with the sport of their choice, for example “yoga”.
  • Syntax of the inline helper function: default value {{#inline "editableFieldID"}}default_value{{/inline}}; label {{#inline "editableFieldID" name="title"}}default_value{{/inline}}; Image source {{#inline "editableFieldID" assetType="image"}}default_value{{/inline}}; tracked URL {{#inline "editableFieldID" assetType="url"}}default_value{{/inline}}.

Related pages:

Personas:

  • marketer: Can add editable fields to image, text and button components of a visual fragment from the Editable fields tab, with the Enable edition option toggled. Can select Overview to check all the editable fields and their default values. Can select the Enable button and save the fragment to unlock rich-text mode for legacy editable fields when using the fragment in an email. Can declare a variable with the inline helper function of the Helper functions menu and display its value with the {{{name}}} syntax. The page states that enabling rich text may cause styling loss in journeys, campaigns, or templates already using the fragment. Where: “Customizable fragments”.

Onboarding:

recommendation-more-help
journey-optimizer-help