이 페이지에서: 코드 기반 경험 구현에서 의사 결정 요청을 보낼 때 중복 제거를 적용하고 시험 실행 플래그를 사용하는 방법을 알아봅니다.
코드 기반 경험에서 Decisioning을 사용할 때 아래에 설명된 경우 클라이언트 구현에 다음 플래그를 추가하는 것이 좋습니다.
➡️ 코드 기반 경험 및 의사 결정을 위한 Web SDK 구성에 대한 자세한 내용은 이러한 자습서를 참조하세요.
의사 결정을 사용하여 코드 기반 경험 테스트 code-based-test-decisions
의사 결정을 사용하여 코드 기반 경험을(를) 테스트할 때 dryRun 플래그를 사용하여 보고 및 최대 가용량 카운터 모두에 대한 피드백 이벤트를 표시하지 않을 수 있습니다.
캠페인을 게시한 후 클라이언트 구현의 XDM 이벤트 data 블록에 dryRun 플래그를 추가하십시오.
{
"data": {
"__adobe": {
"ajo": {
"dryRun": true
}
}
}
}
dryRun 플래그는 테스트 목적으로만 사용됩니다. 프로덕션에서 활성 상태로 두면 모든 피드백 데이터가 자동으로 억제되고 주파수 제한 카운터가 증가하지 않으므로 시작하기 전에 반드시 제거해야 합니다.코드 기반 구현에서 의사 결정 항목 중복 제거 code-based-decisioning-deduplication
코드 기반 환경에서 의사 결정 정책을 사용할 때 클라이언트 구현에서 의사 결정 요청에 중복 제거를 적용할 수 있습니다.
의사 결정 요청(콘덕터를 통해)은 중복 제거 플래그를 허용하며, 이 플래그는 여러 의사 결정 정책 또는 배치로 구성된 단일 요청에서 의사 결정 항목의 고유성을 처리합니다.
중복 제거 논리 deduplication-logic
의사 결정 요청의 경우 설정에 따라 하나 이상의 의사 결정 정책/배치를 가질 수 있습니다.
-
요청의 single 결정 정책 및 배치의 경우, 응답의 모든 항목은 기본적으로 고유합니다. 두 개의 결정 항목은 단일 요청에서 동일할 수 없습니다.
-
요청의 다중 결정 정책/배치에 대해:
-
allowDuplicateDecisionItems이(가)false(으)로 설정된 경우: 항목의 메시지/결정 정책/배치에 관계없이 응답의 모든 항목이 고유합니다. -
allowDuplicateDecisionItems이(가)true(기본값)로 설정된 경우: 응답의 항목이 중복될 수 있습니다(여러 메시지/결정 정책/배치가 해당 요청에 대한 동일한 결정 항목에 적합한 경우).
-
요청에 중복 제거 적용 deduplication-in-request
기본적으로 중복 제거 플래그는 true(으)로 설정됩니다.
Konductor 요청에서 응답에 고유한 요소를 원하는 경우 중복 제거 플래그를 전달할 수 있습니다. 이 경우 false(으)로 설정합니다.
{
"data": {
"__adobe": {
"ajo": {
"allowDuplicateDecisionItems": false
}
}
}
}
| code language-none |
|---|
|
중복 제거 응답 deduplication-response
단일 요청에서 머리글 및 바닥글 배치와 동일한 결정 정책이 있다고 가정해 보겠습니다.
-
Decisioning은 두 개의 제안을 반환합니다.
-
itemId-X이(가) 결정 정책 및 배치 조합에 모두 적합한 단일 결정 항목인 경우:-
allowDuplicateDecisionItems이(가)true인 경우(기본값): 단일 응답에서 두 제안에 대해itemId-X이(가) 다시 반환됩니다. -
allowDuplicateDecisionItems이(가)false인 경우:-
첫 번째 제안에 대해
itemId-X이(가) 다시 반환됩니다. -
두 번째 제안에 대해 대체 결정 항목(고유함) 또는 빈 결정 항목이 전달됩니다.
-
-
allowDuplicateDecisionItems = true) 결정 중| code language-none |
|---|
|
allowDuplicateDecisionItems = false) 결정 중| code language-none |
|---|
|
튜토리얼 tutorials
이 자습서에서 Adobe Experience Platform Mobile SDK용 Adobe Journey Optimizer 확장을 사용하여 코드 기반 경험을 가져오고, 표시하고, 추적하는 방법에 대해 알아봅니다.
이 자습서에서 Journey Optimizer의 의사 결정을 사용하여 웹 SDK 구성에 초점을 맞춰 웹 사이트에서 콘텐츠 오퍼를 개인화하는 방법을 알아봅니다.
이 자습서에서 실시간 날씨 데이터와 컨텍스트 정보를 사용하여 오퍼를 개인화하기 위해 웹 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: This page explains how to use the
dryRunflag when testing code-based experiences with decisioning, and how to apply deduplication of decision items to decisioning requests in a code-based experience client implementation.
Intents:
- Suppress feedback events for both reporting and capping counters when testing a code-based experience with decisioning, by adding the
dryRunflag into the XDM eventdatablock after publishing the campaign. - Get unique decision items in the response of a decisioning request comprised of multiple decision policies or placements, by setting
allowDuplicateDecisionItemstofalse. - Understand which decision item is returned for each proposition when the same decision policy has header and footer placements in a single request.
- Find tutorials on fetching, displaying and tracking code-based experiences with the Adobe Journey Optimizer extension for Adobe Experience Platform Mobile SDKs, and on configuring the Web SDK with decisioning.
Glossary:
dryRunflag (product-specific): A flag added into the XDM eventdatablock (under__adobe>ajo) of the client implementation to suppress feedback events for both reporting and capping counters when testing a code-based experience with decisioning.allowDuplicateDecisionItems(deduplication flag) (product-specific): A flag accepted by decisioning requests (through Konductor) that handles uniqueness of decision items in a single request comprised of multiple decision policies or placements. It is set totrueby default. When set tofalse, all items in the response are unique, regardless of which message, decision policy or placement the item is for. When set totrue, items in the response can be duplicates if multiple messages, decision policies or placements qualify for the same decision item for that request.
Guardrails:
- The
dryRunflag is intended for testing purposes only. Make sure to remove it before going live: leaving it active in production silently suppresses all feedback data and prevents frequency capping counters from being incremented. - For a single decision policy and placement in a request, all items in the response are unique (by default). Two decision items cannot be the same in a single request.
Applicability:
- Applies: the Journey Optimizer Decisioning capability, which is the only decisioning capability the code-based experience channel supports.
- Does not apply: the legacy Decision management capability, which is not available with code-based experiences.
Terminology:
- Canonical name: Experience Data Model — Acronym: XDM
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
FAQ:
- What does the
dryRunflag do? When testing a code-based experience with decisioning, it suppresses feedback events for both reporting and capping counters. - What happens if the
dryRunflag stays active in production? It silently suppresses all feedback data and prevents frequency capping counters from being incremented. - What is the default value of the deduplication flag? By default,
allowDuplicateDecisionItemsis set totrue. - How do I get unique elements in the response of a Konductor request? Pass the deduplication flag
allowDuplicateDecisionItemsand set it tofalse. - When the same decision policy has header and footer placements in a single request,
itemId-Xis the single decision item that qualifies for both, andallowDuplicateDecisionItemsisfalse, what is passed for the second proposition?itemId-Xis returned for the first proposition, and the fallback decision item (also unique) or an empty decision item is passed for the second proposition. - Can the legacy Decision management capability be used with code-based experiences? No. The legacy Decision management capability is not available with code-based experiences.
Examples:
dryRunflag in the XDM eventdatablock:{"data": {"__adobe": {"ajo": {"dryRun": true}}}}- Deduplication flag in a Konductor request:
{"data": {"__adobe": {"ajo": {"allowDuplicateDecisionItems": false}}}} - Deduplication response with the same decision policy with header and footer placement in a single request: decisioning returns two propositions. If
itemId-Xis the single decision item that qualifies for both decision policy and placement combination: withallowDuplicateDecisionItemsset totrue(default),itemId-Xis returned for both propositions in a single response. WithallowDuplicateDecisionItemsset tofalse,itemId-Xis returned for the first proposition, and the fallback decision item (also unique) or an empty decision item is passed for the second proposition.
Related pages:
- For the Journey Optimizer decisioning capability that code-based experiences support: Decisioning
- For the code-based experience that you test with decisioning: code-based experience
- For the decision policies used in code-based experiences: decision policies
Personas:
- developer: Can add the
dryRunflag into the XDM eventdatablock after publishing the campaign, to suppress feedback events for both reporting and capping counters. Can pass the deduplication flagallowDuplicateDecisionItemsset tofalsein a Konductor request to get unique elements in the response. Can rely onallowDuplicateDecisionItemsbeing set totrueby default. The page states that thedryRunflag is intended for testing purposes only, so make sure to remove it before going live. Where: “Examples”.
Onboarding:
- Level: Experienced
- First minimal step: After publishing your campaign, add the
dryRunflag into the XDM eventdatablock in your client implementation.