이 페이지의 내용: 코드 기반 채널을 통해 앱과 웹 페이지의 특정 위치에 개인화된 콘텐츠를 제공하는 방법과 다른 채널 대신 이 채널을 사용해야 하는 시점을 알아봅니다.
Journey Optimizer을(를) 사용하면 웹 앱, 모바일 앱, 데스크탑 앱, 비디오 콘솔, TV 연결 장치, 스마트 TV, 키오스크, ATM, 음성 지원, IoT 장치 등과 같은 모든 터치포인트에서 고객에게 제공할 경험을 개인화하고 테스트할 수 있습니다.
코드 기반 경험 기능을 사용하면 간단하고 직관적인 비시각적 편집기를 사용하여 인바운드 경험을 정의할 수 있습니다. 전체 콘텐츠에 수정 사항을 적용하는 대신 사용 중인 애플리케이션 유형에 관계없이 앱이나 웹 페이지의 개별적이고 더 세분화된 위치에 특정 요소를 삽입하고 편집할 수 있습니다.
➡️ 콘텐츠 실험을 사용하여 의사 결정을 코드 기반 경험 채널과 비교하는 방법을 보여주는 엔드투엔드 사용 사례가 이 섹션에 나와 있습니다.
사용 사례 use-cases
코드 기반 채널은 사용 사례가 시각적 편집기에서 지원할 수 있는 수준을 넘어서고 구현을 빌드하고 유지 관리하는 데 사용할 수 있는 개발 리소스를 가지고 있을 때 가장 잘 작동합니다.
사용하지 말아야 할 경우 when-not-to-use
코드 기반 채널은 개발 노력이 필요하므로 모든 시나리오에 적합한 선택은 아닙니다. 다음과 같은 상황에서는 다른 채널을 고려하세요.
- 캠페인을 빠르게 진행해야 하거나 단순하여 개발 작업 없이 웹이나 인앱과 같은 노코드 채널로 구축할 수 있는 경우
- 사용자 지정 구현을 구축하고 유효성을 검사하는 데 사용할 수 있는 개발자 리소스 또는 테스트 환경이 없는 경우
- 코드 기반 경험에는 더 많은 사전 계획이 필요하므로 사용자 지정 개발에 사용할 수 있는 일정이나 예산이 제한적인 경우
- 기본 제공 채널 기능만으로 표준 메시징 요구 사항을 충족할 수 있어 사용자 지정 개발이 불필요한 경우
- 표면 및 구현에는 지속적인 개발자 지원이 필요하므로 사용자 지정 코드에 대한 장기적인 유지 보수가 우려되는 경우
코드 기반 채널과 기타 채널을 사용할 경우 비교 code-based-vs-other-channels
코드 기반 채널과 기타 채널 비교
기타 Journey Optimizer 채널 대신 코드 기반 채널을 언제 사용합니까?
-
API 기반, 헤드리스 또는 서버측 구현이 있는 경우 Journey Optimizer 웹 또는 인앱 채널 대신 코드 기반 채널을 사용할 수 있습니다.
-
모달, 팝업 또는 오버레이를 표시하지 않고 기본 앱 내의 콘텐츠를 수정하려는 경우 기본 모바일 애플리케이션의 코드 기반 채널을 인앱 채널 대신 활용할 수도 있습니다.
코드 기반 채널과 웹 채널 비교 code-based-vs-web
웹 사용 사례를 실행하기 위해 웹 채널이나 코드 기반 경험을 사용할 수 있지만, 상황에 따라 하나가 다른 것보다 더 적합할 수 있습니다. 언제 무엇을 사용할지 결정하는 데 필요한 정보를 확인할 수 있도록 주요 차이점이 아래에 나열되어 있습니다.
웹
- 웹 디자이너 시각적 편집기 또는 웹 비시각적 편집기를 사용하여 콘텐츠를 편집합니다.
- Adobe Experience Platform Web SDK(클라이언트측 구현)가 필요합니다.
- 웹 채널에서는 페이지의 모든 내용을 수정할 수 있으며 변경할 수 있는 사전 정의된 작업 목록이 있습니다. 자세히 알아보기
- 쉽게 설정하고 빠르게 진행할 수 있습니다.
- 마케팅 페르소나 중심입니다.
코드 기반 경험
- 개인화 편집기를 사용하여 콘텐츠를 편집합니다.
- Adobe Experience Platform Web SDK - 클라이언트측 구현 또는 AEP Edge Network Server API - 서버측 구현이 필요합니다.
- 코드 기반 경험에서는 구현에 대해 기존 개발 작업이 필요합니다. 이는 애플리케이션이 Journey Optimizer에서 해당 위치에 대해 Edge로 게시된 콘텐츠를 해석 및 게재할 수 있게 하기 위해서입니다. 자세히 알아보기
- 더 많은 계획이 필요하고 개발자가 지정하는 사항만 변경할 수 있습니다. 따라서 구성 요소(홈 배너, 히어로 이미지, 메뉴 모음 등)를 식별하는 것이 필수적입니다. 개발팀과 협력하여 이러한 변경 사항을 처리하는 데 필요한 구현을 구축하는 것이 중요합니다.
- JSON 코드 콘텐츠를 사용할 수 있습니다.
- 개발자 페르소나 중심입니다.
작동 방식 how-it-works
Journey Optimizer 코드 기반 경험 기능을 사용하여 콘텐츠를 편집하려면 페이지 또는 앱을 계측해야 합니다. 이렇게 하려면 콘텐츠를 삽입하거나 바꾸려는 특정 개별 위치("표면"이라고 함)를 미리 선언해야 합니다.
코드 기반 경험을 만들고 게재하는 주요 단계는 다음과 같습니다.
-
채널별 사전 요구 사항을 준수해야 합니다. 자세히 알아보기
-
애플리케이션 구현에서 표면을 정의합니다. 표면이란 환경을 추가할 위치입니다.
-
해당 위치를 참조하는 코드 기반 채널 구성을 만듭니다. 방법 알아보기
-
Journey Optimizer에서 이 구성을 사용하여 여정 또는 캠페인을 만듭니다. 방법 알아보기
-
Journey Optimizer 개인화 편집기로 선택한 구성에 대한 콘텐츠를 지정하여 경험을 만듭니다. 방법 알아보기
-
코드 기반 경험을 테스트합니다. 방법 알아보기
-
게시합니다. 방법 알아보기
-
코드 기반 경험 여정 또는 캠페인이 시작된 후 콘텐츠를 검색하고 표시하려면 표면에 표시할 콘텐츠를 요청하는 앱 또는 페이지 구현이 있어야 합니다.
note info INFO 이를 위해 앱 구현 팀은 “배너 텍스트” 또는 “권장 사항 트레이 1”과 같이 코드 기반 구성에서 정의된 표면에 사용할 콘텐츠나, “검색 알고리즘 매개변수”와 같이 애플리케이션의 UI 관련이 아닌 결정 지점에 사용할 콘텐츠를 가져오기 위해 명시적 API 또는 SDK 호출을 수행합니다. 자세히 알아보기
추가 리소스
- 코드 기반 여정 만들기 - 사용자 정의 구현을 위한 코드 기반 캠페인 및 경험을 만들고 구성하는 방법에 대해 알아봅니다.
- 코드 기반 채널 구성 - 적절한 표면 및 구현 설정을 사용하여 코드 기반 경험 구성을 설정합니다.
- 코드 기반 필수 사항 - 구현에 필요한 기술 요구 사항 및 개발자 리소스를 이해합니다.
- 코드 기반 경험 테스트 - 코드 기반 경험을 게시하기 전에 미리 보고 테스트하는 방법에 대해 알아봅니다.
- 구현 샘플 - 다양한 사용 사례에 대한 코드 예제 및 구현 패턴을 살펴봅니다.
- 코드 기반 경험 튜토리얼 - 코드 기반 기능 및 모범 사례에 대한 단계별 비디오 튜토리얼을 살펴봅니다.
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 code-based channel lets you insert and edit specific elements at individual and more granular locations of your apps or web pages; this page explains when to use it instead of other Journey Optimizer channels and lists the key steps to create and deliver a code-based experience.
Intents:
- Decide whether the code-based channel fits your use case or whether another channel, such as web or in-app, is a better choice.
- Compare the web channel and the code-based experience to choose one for a web use case.
- Learn the key steps to create and deliver a code-based experience, from defining a surface to publishing the experience.
- Identify the implementation a code-based experience needs: the Adobe Experience Platform Web SDK or the AEP Edge Network Server API.
- Understand who the code-based experience feature is for.
Glossary:
- Code-based experience (product-specific): a Journey Optimizer capability to define inbound experiences using a non-visual editor. It lets you insert and edit specific elements at individual and more granular locations of your apps or web pages, rather than applying modifications to an entire content.
- Surface (product-specific): a specific individual location in your pages or apps where you want to insert or replace content. A surface is defined in your application implementation.
- Code-based channel configuration (product-specific): a configuration that references the surface location. You create a journey or campaign in Journey Optimizer using this configuration.
Guardrails:
- Currently, the content associated with a configuration can only be HTML or JSON.
- A code-based experience can change only the things that developers specify.
Prerequisites and permissions:
- Make sure you follow the code-based channel-specific prerequisites.
- To edit your content using the code-based experience feature, your pages or apps need to be instrumented: you must declare upfront the specific individual locations (surfaces) where you want to insert or replace content.
- A code-based experience needs either the Adobe Experience Platform Web SDK (client-side implementation) or the AEP Edge Network Server API (server-side implementation).
- A code-based experience requires previous development work on your implementation to make sure that your applications can interpret and deliver the content published on the edge by Journey Optimizer for the surfaces.
- Once your code-based experience journey or campaign is live, the app or page implementation that requests content for the surface must be in place for the content to be retrieved and displayed. Your app implementation team makes explicit API or SDK calls to fetch content for the surface defined in the code-based configuration.
- The code-based experience feature is for developer persona and/or experienced users. Marketers with some code-writing skills can use it, as long as the channel configurations and initial setup are handled by your development team.
Terminology:
- Canonical name: Code-based experience — variants: code-based channel, code-based experience channel
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform
- Do not confuse: web designer and web non-visual editor (used to edit content in the web channel) ≠ personalization editor (used to edit content in a code-based experience)
FAQ:
- When should I use the code-based channel rather than the other Journey Optimizer channels? You can consider using code-based experiences any time your digital property is not accessed through a web browser or a mobile app. You can also use the code-based channel as an alternative to the web or in-app channels in case you have an API-based, headless or server-side implementation.
- Can I use the code-based channel on native mobile applications? Yes. You can use it as an alternative to the in-app channel if you want to modify the content inside your native app instead of showing modals, popups or overlays.
- In which situations should I consider another channel? Consider another channel when your campaign is quick or simple and can be built with a no-code channel like web or in-app, when you do not have developer resources or a testing environment available, when your timeline or budget is limited for custom development, when standard messaging already fits the built-in channel capabilities, or when long-term maintainability of custom code is a concern.
- How does the web channel differ from the code-based experience for web use cases? The web channel lets you modify everything on your page, has a pre-defined list of actions, is easy to set up and is marketer-persona focused. The code-based experience requires more planning, can change only the things that developers specify, allows you to use JSON code content and is developer-persona focused.
- What content can be associated with a code-based configuration? Currently, the content associated with a configuration can only be HTML or JSON.
- Who can use the code-based experience feature? It is for developer persona and/or experienced users. Marketers with some code-writing skills can use it, as long as the channel configurations and initial setup are handled by your development team.
Examples:
- Deep personalization with the code-based channel: personalization driven by real-time inventory or user context.
- Integration with external systems with the code-based channel: weather-based promotions, real-time inventory-driven offers.
- Advanced, multi-step conditional workflows with the code-based channel: multi-step decisioning logic across touchpoints.
- Going beyond platform limits with the code-based channel: custom UI components not supported by out-of-the-box channels.
- Improved campaign flexibility with the code-based channel: headless, API-based, or non-browser digital properties.
- Surfaces defined in a code-based configuration can be UI locations such as “Banner Text” or “Recommendations Tray 1”, or non-UI-related decision points in an application, such as “search algorithm parameters”.
Best practices:
- The code-based channel works best when your use case goes beyond what a visual editor can support, and you have development resources available to build and maintain the implementation.
- For a code-based experience, it is essential to identify the components (home banner, hero image, menu bar, etc.) on the applications that need to be modified for personalization or testing, and work with your development team to build the implementation needed for handling these changes.
Related pages:
- For specific recommendations and channel-specific prerequisites for code-based experiences: Code-based prerequisites
- For an end-to-end use case using content experiments to compare decisions with the code-based experience channel: Use decisioning in a code-based experience with content experiment
- For the Journey Optimizer web channel: web channel
- To edit web channel content with the visual editor: web designer
- To edit web channel content without the visual editor: non-visual editor
- To define the surfaces and the implementation work they need: surfaces
- To create a code-based channel configuration: Configure code-based channel
- To create a code-based journey or campaign and compose content with the personalization editor: Create code-based experiences
- To test your code-based experience: Test code-based experiences
- To publish your code-based experience: Manage code-based experiences
- For code examples of API or SDK calls that fetch content for a surface: Implementation samples
Personas:
- marketer: Can create a journey or campaign in Journey Optimizer using a code-based channel configuration. Can compose an experience by specifying content for the selected configuration using the Journey Optimizer personalization editor. Can test the code-based experience and publish it. The page states that marketers with some code-writing skills can use this feature, as long as the channel configurations and initial setup are handled by your development team. Where: “How it works”.
- developer: Can define a surface in the application implementation, which is the location where you want to add the experience. Can make explicit API or SDK calls to fetch content for the surface defined in the code-based configuration. Can use either the Adobe Experience Platform Web SDK for a client-side implementation or the AEP Edge Network Server API for a server-side implementation. Where: “Prerequisites and permissions”.
- admin: Can create a code-based channel configuration that references the surface location defined in the application implementation. The page states that currently the content associated with a configuration can only be HTML or JSON. Where: “How it works”.
Onboarding:
- Level: Experienced
- First minimal step: Make sure you follow the channel-specific prerequisites.