在此頁面上:瞭解如何在Adobe Journey Optimizer中將自訂頻道新增到歷程或行銷活動,並使用運算式編輯器編寫個人化訊息裝載。
在Journey Optimizer中,您可以使用行銷活動和歷程中的自訂管道來傳遞訊息。 請依照下列步驟,設定您的自訂管道體驗。
透過歷程或行銷活動新增自訂動作 create-custom-channel-experience
自訂管道會顯示在歷程畫布浮動視窗的 動作 區段中,依照管道產生器中定義的顯示名稱和自訂圖示列出。
若要將自訂頻道動作新增至歷程:
若要在行銷活動中使用自訂頻道:
-
選取行銷活動型別:
- 已排程 — 行銷 — 立即執行或在指定日期執行。 專為行銷訊息而設計,從UI設定。
- API觸發 — 行銷/異動 — 透過API呼叫執行。 專為事件觸發訊息設計(例如訂單確認或密碼重設)。 了解更多
-
在 動作 區段中,從頻道選取器中選取自訂頻道。 在您的沙箱上設定的所有自訂頻道都會與原生頻道一起顯示。
{width="80%"}
-
選取或建立要使用的頻道設定。 瞭解如何建立管道設定
{width="80%"}
-
選擇性地啟用動作追蹤,以自動追蹤訊息裝載中包含的連結(需要為自訂管道設定的子網域)。 瞭解如何委派自訂管道的子網域
-
在 最佳化 區段中,您可以:
-
按一下 編輯內容 以開啟裝載編輯器並編寫您的訊息。 瞭解如何編寫內容
-
檢閱及啟動行銷活動。 了解更多
編寫您的自訂頻道內容 author-content
內容編輯器會反映您在設定自訂頻道時定義的裝載結構。 按一下 編輯代碼 以開啟裝載編輯器並輸入您的訊息內容。
畫面會顯示您可以編寫和個人化的欄位。 您可以善用Journey Optimizer個人化編輯器及其所有個人化和編寫功能。 了解更多
| code language-json |
|---|
|
個人化裝載 personalize
承載編輯器中提供Journey Optimizer的完整個人化功能:
下列範例顯示具有設定檔個人化的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?"
}
}
追蹤裝載中的連結 track-links
若要在自訂管道裝載中包含追蹤連結,以便管道的報表控制面板自動追蹤及顯示點選,請使用下列控制面板語法包住URL:
{{url trackedUrl='' originalUrl='https://example.com/' type='TRACKED'}}
originalUrl— 您要重新導向收件者的目的地URL。trackedUrl— 留空;Journey Optimizer會在傳送時自動填入啟用追蹤的重新導向URL。type— 必須設定為TRACKED。
範例 — 在承載中追蹤的連結:
{
"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
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.