在此頁面上:瞭解如何設定傳遞必要條件,並建立應用程式內頻道設定,以使用Adobe Journey Optimizer傳送應用程式內訊息。
設定步驟 inapp-steps
若要使用Journey Optimizer在歷程與行銷活動中傳送應用程式內訊息,您必須完成下列設定步驟。
完成後,您可以建立、設定並傳送您的第一個應用程式內訊息。 在本節中了解如何達成此目的。
傳遞必要條件 delivery-prerequisites
為了正確傳遞應用程式內訊息,必須定義下列設定:
-
在Adobe Experience Platform Data Collection中,確定您已定義資料串流,例如在 Adobe Experience Platform 服務下,您已啟用Adobe Experience Platform Edge和 Adobe Journey Optimizer 選項。
這可確保Adobe Experience Platform Edge正確處理Journey Optimizer傳入事件。 了解更多
note NOTE 目前僅支援Journey Optimizer中的Web通路行銷活動使用 context.datastream屬性。 嘗試在應用程式內訊息中使用context.datastream將導致驗證錯誤,例如Invalid syntax Missing schema field: 'datastream。
-
在Adobe Experience Platform中,確定您已啟用預設合併原則 Edge上主動合併原則 選項。 若要這麼做,請在客戶 > 設定檔 > 合併原則 Experience Platform功能表下選取原則。 了解更多
此合併原則由Journey Optimizer個傳入頻道使用,以便在邊緣正確啟用和發佈傳入行銷活動。 了解更多
note NOTE 使用自訂 資料集偏好設定 合併原則時,請確定在指定的合併原則中新增 歷程輸入 資料集。
-
若要針對Journey Optimizer行動體驗的傳送進行疑難排解,您可以在 Edge Delivery 中使用 Adobe Experience Platform Assurance 檢視。 此檢視可讓您詳細檢查請求呼叫、確認預期的邊緣呼叫是否如預期發生,以及檢查設定檔資料,包括身分對應、區段會籍和同意設定。 此外,您可以檢閱請求符合資格的活動,並識別未符合資格的活動。
使用 Edge Delivery 檢視有助於您取得所需的深入分析,以有效瞭解並疑難排解您的傳入實作。
建立應用程式內設定 channel-prerequisites
若要在Journey Optimizer中建立應用程式內設定,請遵循下列步驟:
-
存取頻道 > 一般設定 > 頻道設定功能表,然後按一下建立頻道設定。
-
輸入設定的名稱和說明(選擇性)。
note NOTE 名稱必須以字母(A-Z)開頭。 名稱只能包含英數字元。 您也可以使用底線 _、點.和連字型大小-字元。 -
若要將自訂或核心資料使用標籤指派給組態,您可以選取管理存取權。 進一步瞭解物件層級存取控制(OLAC)。
-
選取行銷動作,以使用此設定將同意原則與訊息相關聯。 系統會運用與行銷動作相關的所有同意政策,以尊重客戶的偏好設定。 了解更多
-
從 選取頻道 下拉式清單中,選取應用程式內傳訊。
-
選取您要定義設定的平台。 這可讓您為每個平台指定目標應用程式,並確保跨多個平台的一致內容傳送。
note NOTE 對於iOS和Android平台,傳送完全以應用程式ID為基礎。 如果兩個應用程式共用相同的應用程式ID,則無論在 頻道設定 中選取的平台為何,都會將內容傳送給兩者。
若要將應用程式內訊息傳送限制在特定平台,您必須在歷程或行銷活動邏輯中實作裝置特定規則。
-
針對Web:
-
若要鎖定一個頁面,請輸入其頁面URL。
-
若要將遵循相同模式的多個頁面設為目標,請建立頁面比對規則。
accordion 如何建置頁面比對規則。 -
選取 符合規則 的頁面作為應用程式設定,並輸入您的頁面URL。
-
在 編輯設定規則 視窗中,定義 網域 和 頁面 欄位的條件。
-
從條件下拉式清單,進一步個人化您的條件。
舉例來說,若要編輯顯示在您Luma網站所有銷售產品頁面上的元素,請選取「網域>開頭為> Luma和頁面>包含>銷售」 。
-
視需要按一下 新增其他頁面規則 以建立其他規則。
-
選取預設撰寫與預覽URL。
-
儲存您的變更。 規則會顯示在 建立行銷活動 畫面中。
-
-
-
對於iOS和Android:
- 輸入您的應用程式識別碼。
-
提交變更。
您現在可以在建立應用程式內訊息時選取設定。
報表必要條件 experiment-prerequisites
若要啟用應用程式內管道的報表,您必須確定應用程式內實作資料流中使用的資料集也包含在報表設定中。 換言之,在設定報表時,如果您新增的應用程式資料流中不存在的資料集,應用程式資料將不會顯示在報表中。 瞭解如何在本節中新增資料集以進行報告。
如果您不是,使用資料集結構描述的下列預先定義欄位群組: AEP Web SDK ExperienceEvent和Consumer Experience Event (如此頁面上所定義),請務必新增下列欄位群組: Experience Event - Proposition Interactions、Application Details、Commerce Details和Web Details。 Journey Optimizer報告需要這些資料,因為它們正在追蹤每個設定檔參與了哪些行銷活動和歷程。
- 資料集由Journey Optimizer報告系統以唯讀方式使用,不會影響資料收集或資料擷取。
- 新增必要的欄位群組僅為累加性 — 其適用於執行行銷活動或歷程的頁面,並保持所有其他追蹤不變。
相關主題:
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 the prerequisites and configuration required to send In-app messages with Journey Optimizer, including delivery prerequisites, creating an In-app channel configuration, and reporting prerequisites.
Intents:
- Complete the configuration steps required before sending In-app messages
- Set up the delivery prerequisites in Adobe Experience Platform Data Collection and Profile merge policies
- Create an In-app channel configuration under Channels > General settings > Channel configurations
- Configure per-platform targeting (Web, iOS, Android) for the channel configuration
- Enable reporting for the In-app channel by aligning datasets and field groups
Glossary:
- In-app channel configuration: A channel configuration created in Journey Optimizer that you select when creating an In-app message (product-specific)
- Active-On-Edge Merge Policy: A merge policy option in Adobe Experience Platform (product-specific)
- Journey Inbound dataset: A dataset in Adobe Experience Platform (product-specific)
- Edge Delivery view: A view within Adobe Experience Platform Assurance (product-specific)
- Marketing action: A selection that associates consent policies with messages using the configuration, so customer preferences are respected (product-specific)
- Pages matching rule: An App configuration option for Web that targets multiple URLs following the same pattern, using Domain and Page criteria (product-specific)
- Time-To-Live (TTL): A setting for automatic profile deletion (product-specific)
Guardrails:
- Configuration names must begin with a letter (A-Z) and can only contain alpha-numeric characters, plus the underscore, dot, and hyphen characters.
- For iOS and Android platforms, delivery is based solely on the app ID. If both apps share the same app ID, content is delivered to both, regardless of the platform selected in the channel configuration. To restrict delivery to a specific platform, implement device-specific rules within your journey or campaign logic.
Prerequisites and permissions:
- Correct permissions on Journey Optimizer campaigns, required even if you plan to use In-app messages only in journeys.
- An Adobe Experience Platform Data Collection datastream with the Adobe Experience Platform Edge and the Adobe Journey Optimizer option enabled under the Adobe Experience Platform service, so that Journey Optimizer inbound events are correctly handled by the Adobe Experience Platform Edge.
- In Adobe Experience Platform, a default merge policy with the Active-On-Edge Merge Policy option enabled. Inbound channels use it to activate and publish inbound campaigns on the edge. When using a custom Dataset preference merge policy, add the Journey Inbound dataset within that merge policy.
- An In-app channel configuration, which you select when creating an In-app message.
- For reporting: the dataset used in your In-app implementation datastream must also be included in your reporting configuration. If you are not using the
AEP Web SDK ExperienceEventandConsumer Experience Eventfield groups for your dataset schema, add theExperience Event - Proposition Interactions,Application Details,Commerce Details, andWeb Detailsfield groups.
Applicability:
- In-app messages: the configuration steps apply to sending In-app messages in journeys and in campaigns.
context.datastreamattributes: supported only for Web channel campaigns in Journey Optimizer; not supported in In-app messages.
Terminology:
- Canonical name: In-app channel configuration; variants: In-app message channel configuration, In-app configuration
- Synonyms: “pseudonymous profiles” = “unauthenticated visitors”
- Do not confuse: “Delivery prerequisites” (datastream and merge policy setup) ≠ “Reporting prerequisites” (datasets and field groups for reporting)
- Do not confuse: “Page URL” (target a specific page) ≠ “Pages matching rule” (target multiple URLs following the same pattern)
FAQ:
- Q: What permissions do I need before configuring In-app? — You need the correct permissions on Journey Optimizer campaigns, even if you plan to use In-app messages only in journeys, because campaign permissions are still required.
- Q: Can I use
context.datastreamin In-app messages? — No; it is currently supported only for Web channel campaigns, and attempting to use it in In-app messages results in validation errors such asInvalid syntax Missing schema field: 'datastream. - Q: Where do I create an In-app channel configuration? — Under Channels > General settings > Channel configurations, using Create channel configuration.
- Q: How is delivery handled for iOS and Android? — Delivery is based solely on the app ID; if both apps share the same app ID, content is delivered to both regardless of the platform selected, unless you add device-specific rules in your journey or campaign logic.
- Q: Why is my In-app data not showing in reports? — The dataset used in your In-app implementation datastream must also be included in your reporting configuration. If you add a dataset that is not present in your app datastream, app data will not display in your reports.
Troubleshooting:
- Validation error
Invalid syntax Missing schema field: 'datastream: occurs when attempting to usecontext.datastreamattributes in In-app messages. - App data does not display in reports: occurs when you add a dataset that is not present in your app datastream to the reporting configuration.
- Troubleshooting the delivery of Journey Optimizer mobile experiences: use the Edge Delivery view within Adobe Experience Platform Assurance to inspect request calls in detail, verify whether the expected edge calls occur, and examine profile data, including identity maps, segment memberships, and consent settings. You can also review the activities the request qualified for and identify those it did not.
Examples:
- Pages matching rule (Web): to edit elements displayed on all the sales product pages of a Luma website, select Domain > Starts with > luma and Page > Contains > sales.
Best practices:
- When targeting pseudonymous profiles (unauthenticated visitors) with In-app messages, consider setting a Time-To-Live (TTL) for automatic profile deletion to manage your engageable profile count and associated costs (recommended).
Related pages:
- To create, configure, and send your first In-app message: Create an In-app message (in-app/create-in-app.md)
- To design the content of an In-app message: Design In-app message (in-app/design-in-app.md)
- To check the campaign permissions: Get started with campaigns, Prerequisites (campaigns/get-started-with-campaigns.md)
- To learn more about setting a Time-To-Live (TTL) when targeting pseudonymous profiles: Journey Optimizer guardrails and limitations, Profile management with inbound channels (start/guardrails.md)
- To assign data usage labels with Manage access: Object Level Access Control (OLAC) (administration/object-based-access.md)
- To associate consent policies through marketing actions: Work with consent policies (action/consent.md)
- To add datasets for reporting: Configure Journey Optimizer reporting for experimentation (reports/reporting-configuration.md)
- To view In-app reporting: In-app report (reports/campaign-global-report-cja-inapp.md)
Personas:
- admin: Can make sure correct permissions on Journey Optimizer campaigns are set, even when using In-app messages only in journeys. Can enable Journey Optimizer in the Adobe Experience Platform Data Collection datastream, and check the default merge policy in Adobe Experience Platform. Can create an In-app message channel configuration under Channels > General settings > Channel configurations. The page states that when targeting pseudonymous profiles, consider a Time-To-Live (TTL) for automatic profile deletion to manage profile count and costs. Where: “Configuration steps”.
Onboarding:
- Level: Intermediate
- First minimal step: Enable the Adobe Experience Platform Edge and Adobe Journey Optimizer option in your Adobe Experience Platform Data Collection datastream.
- Success check: Journey Optimizer inbound events are correctly handled by the Adobe Experience Platform Edge.
- Previous: For the correct permissions on Journey Optimizer campaigns before configuring the In-app channel: Get started with campaigns (campaigns/get-started-with-campaigns.md)
- Next: Ready to create, configure, and send a first In-app message: Create an In-app notification in Journey Optimizer (in-app/create-in-app.md); To add datasets for reporting on the In-app channel: Configure Journey Optimizer reporting for experimentation (reports/reporting-configuration.md)