[有限可用性]{class="badge informative"}

建立自訂管道體驗 create-custom-channel

在此頁面上:​瞭解如何在Adobe Journey Optimizer中將自訂頻道新增到歷程或行銷活動,並使用運算式編輯器編寫個人化訊息裝載。

AVAILABILITY
此功能為有限可用性。 請聯絡您的 Adobe 代表以取得存取權。

在Journey Optimizer中,您可以使用行銷活動和歷程中的自訂管道來傳遞訊息。 請依照下列步驟,設定您的自訂管道體驗。

NOTE
在建立自訂管道體驗之前,請確定您的管理員已設定自訂管道。 了解更多

透過歷程或行銷活動新增自訂動作 create-custom-channel-experience

新增自訂頻道至歷程

自訂管道會顯示在歷程畫布浮動視窗的​ 動作 ​區段中,依照管道產生器中定義的顯示名稱和自訂圖示列出。

若要將自訂頻道動作新增至歷程:

  1. 建立歷程

  2. 事件讀取對象活動來開始您的歷程。

  3. 從浮動視窗的​ 動作 ​區段拖放​ 動作 ​活動。 深入瞭解動作活動

  4. 在​ 動作 ​下拉式清單中,選取您要使用的自訂頻道。 自訂管道會依「管道產生器」中指派的名稱和圖示列出。

    歷程畫布中的自訂頻道動作選擇 {width="80%"}

  5. 新增標籤至您的動作,按一下右側面板中的​Configure action,然後選取要使用的​頻道設定瞭解如何建立自訂頻道設定

  6. 在​ 訊息 ​區段中,按一下​ 編輯內容 ​以開啟裝載編輯器並編寫您的訊息。 瞭解如何編寫內容

  7. 視需要新增其他步驟,以完成您的歷程流程,然後發佈歷程。 了解更多

建立自訂頻道行銷活動

若要在行銷活動中使用自訂頻道:

  1. 建立行銷活動

  2. 選取行銷活動型別:

    • 已排程 — 行銷 — 立即執行或在指定日期執行。 專為行銷訊息而設計,從UI設定。
    • API觸發 — 行銷/異動 — 透過API呼叫執行。 專為事件觸發訊息設計(例如訂單確認或密碼重設)。 了解更多
  3. 完成行銷活動設定:行銷活動屬性、對象排程

  4. 在​ 動作 ​區段中,從頻道選取器中選取自訂頻道。 在您的沙箱上設定的所有自訂頻道都會與原生頻道一起顯示。

    促銷活動自訂動作選擇 {width="80%"}

  5. 選取或建立要使用的​頻道設定瞭解如何建立管道設定

    自訂頻道組態選擇 {width="80%"}

  6. 選擇性地啟用​動作追蹤,以自動追蹤訊息裝載中包含的連結(需要為自訂管道設定的子網域)。 瞭解如何委派自訂管道的子網域

  7. 在​ 最佳化 ​區段中,您可以:

    • 建立目標規則,將不同的訊息傳送至您對象的不同區段。 了解更多
    • 按一下​建立實驗,對您的自訂頻道訊息執行A/B測試。 了解更多
  8. 按一下​ 編輯內容 ​以開啟裝載編輯器並編寫您的訊息。 瞭解如何編寫內容

  9. 檢閱及啟動行銷活動。 了解更多

編寫您的自訂頻道內容 author-content

內容編輯器會反映您在設定自訂頻道時定義的裝載結構。 按一下​ 編輯代碼 ​以開啟裝載編輯器並輸入您的訊息內容。

自訂管道裝載編輯器 {width="80%"}

畫面會顯示您可以編寫和個人化的欄位。 您可以善用Journey Optimizer個人化編輯器及其所有個人化和編寫功能。 了解更多

NOTE
僅支援JSON裝載。 如果您的自訂頻道裝載不是JSON,您可以使用JSON包裝函式來封裝您的內容。 例如,如果您的裝載是XML,您可以將其包裝在JSON物件中,如下所示:
code language-json
{
      "payload": "<xml>...</xml>"
    }

個人化裝載 personalize

承載編輯器中提供Journey Optimizer的完整個人化功能:

  • 設定檔屬性 — 插入任何XDM設定檔屬性,例如{{profile.person.name.firstName}}或自訂身分,例如儲存在自訂名稱空間中的傳訊平台使用者ID。
  • 內容屬性 — 使用歷程事件屬性,或在傳送時解析的行銷活動內容資料。
  • 協助程式函式 — 使用內建字串、日期或算術函式來格式化值。 了解更多
  • 運算式片段 — 跨多個管道和行銷活動重複使用共用的個人化邏輯。 了解更多
CAUTION
目前編寫時並沒有驗證裝載。 您可以使用​ 模擬內容 ​功能來驗證您的裝載是否為格式正確的JSON,以及所有個人化運算式是否都能正確解析您的測試設定檔。 了解更多

下列範例顯示具有設定檔個人化的JSON裝載:

{
  "message": {
    "template": "Limited offer just for you, {{profile.person.name.firstName}}!",
    "header": "You have a FREE drink when you buy a King menu!"
  },
  "campaign_ref": {
    "id": "2grjya",
    "type": "loyalty",
    "url": "/companies/wNmRsLbu/campaigns/wallet/2grjya"
  }
}
{
  "messaging_product": "mess",
  "recipient_type": "individual",
  "to": "{{profile.mobilePhone.number}}",
  "zipCode": 4001,
  "type": "image",
  "image": {
    "id": "1479537139650973",
    "caption": "The best succulent ever?"
  }
}

若要在自訂管道裝載中包含追蹤連結,以便管道的報表控制面板自動追蹤及顯示點選,請使用下列控制面板語法包住URL:

{{url trackedUrl='' originalUrl='https://example.com/' type='TRACKED'}}
  • originalUrl — 您要重新導向收件者的目的地URL。
  • trackedUrl — 留空;Journey Optimizer會在傳送時自動填入啟用追蹤的重新導向URL。
  • type — 必須設定為TRACKED
NOTE
連結追蹤需要為自訂頻道設定的子網域。 瞭解如何委派自訂管道的子網域

範例 — 在承載中追蹤的連結:

{
  "receiver": "{{profile.mobilePhone.number}}",
  "min_api_version": 1,
  "sender": {
    "name": "Luma Rewards",
    "avatar": "https://avatar.example.com"
  },
  "tracking_data": "{{profile.person.name.firstName}}",
  "type": "text",
  "text": "Hello {{profile.person.name.firstName}}! Discover our new collection: {{url trackedUrl='' originalUrl='https://luma.com/collection' type='TRACKED'}}"
}

啟用您的自訂頻道體驗 activate

IMPORTANT
在啟用之前預覽和測試您的自訂管道裝載。 了解做法
如果您的行銷活動或歷程受核准原則的約束,您必須在啟用之前請求核准。 了解更多
  • 從歷程 — 按一下右上角區域中的​發佈。 歷程開始上線,並開始呼叫您的外部端點以符合設定檔資格。 深入瞭解發佈歷程
  • 從行銷活動 — 按一下​檢閱以啟用,檢閱您的設定,然後按一下​啟用。 此行銷活動會採用​ 即時 ​狀態(或如果已定義未來的開始日期,則為​已排程)。 深入瞭解啟用行銷活動
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 a marketer delivers messages through a custom channel by adding a custom channel action to a journey or a campaign, authoring and personalizing the JSON payload, optionally tracking links, and then activating the experience.

Intents:

  • Add a custom channel action to a journey using the Action activity
  • Use a custom channel in a Scheduled or API-triggered campaign
  • Select a channel configuration for the custom channel action
  • Author and personalize the JSON message payload in the payload editor
  • Track links included in the payload
  • Activate the custom channel experience from a journey or a campaign

Glossary:

  • Custom channel action: An action that delivers a message to profiles when they reach that step of the journey, referencing a custom channel configuration (product-specific)
  • Channel configuration: The named preset, selected when configuring the action, that defines the endpoint, payload, and credentials used to deliver the message (product-specific)
  • Payload editor: The content editor, opened with Edit content or Edit code, that reflects the payload structure defined for the custom channel (product-specific)
  • Simulate content: The feature used to validate that the payload is well-formed JSON and that all personalization expressions resolve correctly for your test profiles (product-specific)
  • Action tracking: A campaign option that automatically tracks links included in the message payload and requires a subdomain configured for custom channels (product-specific)
  • Expression fragments: Shared personalization logic that can be reused across multiple channels and campaigns (product-specific)

Guardrails:

  • This capability is available in Limited Availability; contact your Adobe representative to gain access.
  • A custom channel must be configured by your administrator before you create a custom channel experience.
  • Only JSON payloads are supported; non-JSON content such as XML can be wrapped in a JSON object.
  • There is currently no validation of the payload at authoring time; use Simulate content to validate that the payload is well-formed JSON and that personalization expressions resolve correctly for your test profiles.
  • Action tracking and link tracking require a subdomain configured for custom channels.
  • For a tracked link, leave trackedUrl empty and set type to TRACKED; Journey Optimizer populates trackedUrl at send time.
  • If your campaign or journey is subject to an approval policy, you must request approval before activation.

Terminology:

  • Canonical name: custom channel experience — Acronym: n/a — variants: custom channel action
  • Synonyms: “Edit content” = “Edit code” (both open the payload editor)
  • Do not confuse: “Scheduled - Marketing” ≠ “API-triggered - Marketing/Transactional” (the two campaign types)
  • Do not confuse: “Publish” (journey activation) ≠ “Review to activate” and “Activate” (campaign activation)
  • Do not confuse: “Live” ≠ “Scheduled” (campaign statuses after activation)

FAQ:

  • Q: What payload format can I author? — Only JSON; wrap non-JSON content such as XML in a JSON object.
  • Q: How do I check my payload before activating? — Use Simulate content to confirm the payload is well-formed JSON and that all personalization expressions resolve correctly for your test profiles.
  • Q: How do I track links in the payload? — Wrap the URL with the handlebar syntax, leaving trackedUrl empty and setting type to TRACKED; link tracking requires a delegated subdomain.
  • Q: How do I activate the experience? — From a journey, click Publish; from a campaign, click Review to activate and then Activate.
  • Q: Can I run A/B tests on custom channel messages? — Yes, in the Optimization section click Create experiment.
recommendation-more-help
journey-optimizer-help