SPA 시각적 경험 작성기 시작 spa-vec

이 페이지에서: Adobe Target 시각적 경험 작성기(VEC)를 사용하여 단일 페이지 애플리케이션에서 A/B 테스트 및 경험 타깃팅 활동을 만드는 방법을 알아봅니다.

시각적 경험 작성기(VEC)는 마케터에게 Adobe Target의 글로벌 mbox를 통해 기존의 다중 페이지 애플리케이션에서 활동을 만들고 경험을 개인화할 수 있는 DIY 방법을 제공합니다. 이 접근 방식은 다음 다이어그램에 표시된 대로 지연을 초래하는 페이지 로드 시 또는 후속 서버 호출을 통해 오퍼를 검색하는 데 의존합니다. 단일 페이지 애플리케이션(SPA)의 경우, 이 지연 시간은 사용자 경험과 애플리케이션 성능을 저하시킵니다.

기존 라이프사이클과 SPA 라이프사이클 비교

SPA용 VEC를 사용하면 마케터가 지속적인 개발에 의존하지 않고 SPA에서 테스트를 만들고 콘텐츠를 개인화할 수 있습니다. React 및 Angular과 같이 인기 있는 프레임워크의 A/B 테스트 및 경험 타깃팅(XT) 활동을 만드는 데 사용할 수 있습니다.

보기 및 단일 페이지 애플리케이션 spa-views

SPA용 VEC는 "보기"라는 개념(예: SPA 경험을 함께 구성하는 시각적 요소의 논리 그룹)을 사용합니다. SPA는 사용자 상호 작용에 따라 URL 대신 보기를 통해 전환되는 것으로 간주됩니다. 보기는 전체 사이트 또는 사이트 내의 시각적 요소 그룹을 나타낼 수 있습니다.

다음 표에는 React에 구현된 가상의 전자 상거래 사이트의 예제 보기가 나와 있습니다. 링크는 새 브라우저 탭에서 데모 사이트를 엽니다.

페이지
보기에 포함되는 항목
이름 보기
예
홈 사이트
전체 홈 사이트에는 부활절 판매와 최신 제품을 홍보하는 영웅 이미지가 포함되어 있습니다.
home
홈 사이트 스크린샷 {width="600"}
제품 사이트
전체 제품 페이지 또는 네 개의 제품이 보기로 그룹화될 때 해당 페이지에 표시됩니다.
products
제품 사이트 스크린샷 {width="600"} 4개의 제품이 보기로 그룹화된 제품 사이트 스크린샷 {width="600"}
추가 로드를 클릭한 후 제품 사이트
제품의 두 번째 행만 표시합니다. URL은 변경되지 않습니다.
PRODUCTS-PAGE-2
두 번째 제품 행이 있는 제품 사이트 스크린샷 {width="600"}
체크아웃
배달 옵션(일반 배달 또는 빠른 배달).
View Delivery Preferences
체크아웃 스크린샷 {width="600"}
일반 배달이 선택된 체크아웃
각 게재 환경 설정에 대해 하나의 보기를 선택하여 선택에 따라 콘텐츠를 개인화합니다.
Normal Delivery
일반 배달이 선택된 체크아웃 스크린샷 {width="600"}
빠른 배달(으)로 체크아웃 선택됨
각 게재 환경 설정에 대해 하나의 보기를 선택하여 선택에 따라 콘텐츠를 개인화합니다.
Express Delivery
빠른 배달이 선택된 체크아웃 스크린샷 {width="600"}

이 보기를 통해 마케터는 빠른 배달​을(를) 선택할 때 단추 색상을 파란색에서 빨간색으로 변경하면 두 배달 옵션 모두에 대해 단추를 파란색으로 유지하는 것과 비교하여 전환이 증가하는지 여부를 확인하기 위해 A/B 테스트를 실행할 수 있습니다.

SPA VEC 설정 및 사용 spa-vec-workflow

SPA에서 VEC를 사용하려면 일회용 개발자 설정 후 마케터가 활동을 만드는 작업이 포함됩니다. 다음 페이지에서는 개발자 설정 및 고급 시나리오에 대해 설명하고 다음 섹션에서는 활동을 만드는 방법에 대해 설명합니다.

  • SPA VEC에 대한 보기 구현: at.js 2.x를 설치하고 각 보기에 대해 triggerView()을(를) 호출합니다.
  • SPA VEC의 고급 항목: 최신 프로필 데이터로 보기를 검색하고, Analytics for Target(A4T)을 사용하고, 페이지 전달 설정을 구성합니다.

VEC에서 활동 만들기 create-spa-activities

매개 변수로 전달된 보기 이름을 사용하여 SPA에서 adobe.target.triggerView()이(가) 구현되면(SPA VEC에 대한 보기 구현 참조) VEC가 이러한 보기를 감지하고 사용자가 A/B 또는 XT 활동에 대한 작업 및 수정 사항을 만들 수 있습니다.

NOTE
SPA용 VEC는 일반 웹 페이지에서 사용되는 VEC와 동일합니다. triggerView()을(를) 구현하는 SPA를 열면 추가 기능을 사용할 수 있습니다.

수정 사항 패널 및 작업에 대한 두 가지 개선 사항을 통해 VEC가 SPA에서 작동할 수 있습니다.

  • 수정 패널: 수정 사항 패널은 보기에 대해 만들어진 작업을 캡처하고 해당 보기에서 보기의 모든 작업을 그룹화합니다.
  • 작업: 작업을 클릭하면 작업이 적용되는 사이트의 요소가 강조 표시됩니다. 보기에서 만든 각 작업에는 자세히(…)과 함께 열리는 메뉴가 있습니다. 버튼, 다음 스크린샷에 표시된 옵션

수정 사항 패널

옵션
설명
정보
작업의 세부 사항을 표시합니다.
편집
작업의 속성을 직접 편집합니다.
더 많은 보기에 적용
수정 패널에 있는 하나 이상의 보기에 작업을 적용하거나 VEC에서 탐색되고 이동한 하나 이상의 보기에 작업을 적용합니다. 작업이 수정 패널에 있지 않아도 됩니다.
참고: 이 작업 후 찾아보기​를 사용하여 VEC의 보기로 이동하여 작업이 유효한지 확인하십시오. 작업을 보기에 적용할 수 없는 경우 오류가 표시됩니다.
수정 사항 삭제
작업을 삭제합니다.
NOTE
많은 작업은 VEC에 페이지가 로드되기 전에 또는 페이지 로드가 실패할 경우에도 수행할 수 있습니다. 사이트가 로드되기 전에 편집할 수 없는 작업은 인터페이스에서 비활성화됩니다.

고급 시나리오가 필요하면 SPA VEC에 대한 고급 항목을 참조하십시오.

지원되는 활동

활동 유형
지원됨?
A/B 테스트
예
A/B 테스트 및 경험 타기팅(XT) 활동에서 오퍼로서의 권장 사항
예
자동 할당
예
경험 타깃팅
예
다변량 테스트
아니오
자동 타깃팅
아니오
자동화된 개인화
아니오
권장 사항
아니오

SPA VEC는 자동 타겟을 지원하지 않지만, 자동 타겟 A/B 활동은 at.js 2.x가 설치되어 있고 triggerView()이(가) 구현된 사이트에서 계속 실행할 수 있습니다.

지원되는 통합

지원되는 기능 supported-features

교육 비디오: Adobe Target에서의 SPA용 VEC 사용

자세한 내용은 Adobe Target에서 SPA VEC(단일 페이지 애플리케이션용 시각적 경험 작성기) 사용을 참조하십시오.

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: The page explains how the Adobe Target Visual Experience Composer (VEC) for single page applications uses Views to create A/B Test and Experience Targeting activities, and lists the activities, integrations and features that the SPA VEC supports.

Intents:

  • Understand why the VEC for SPAs exists and how it differs from the traditional multi-page lifecycle.
  • Understand what a View is and how Views are used on an SPA.
  • Create actions and modifications for A/B or XT activities on the Views that the VEC detects.
  • Use the menu of an action (Info, Edit, Apply to more views, Delete modification).
  • Check which activity types, integrations and features the SPA VEC supports.

Glossary:

  • View (product-specific): a logical group of visual elements that together make up an SPA experience. A View can represent a whole site or a group of visual elements within a site.
  • VEC for SPAs (product-specific): the Visual Experience Composer used to create tests and personalize content on SPAs without continuous development dependencies. The page states that it is the same VEC as the one used on regular web pages.
  • Modifications panel (product-specific): captures the actions created for a View and groups all actions of a View under that View.
  • Apply to more views (product-specific): an action menu option that applies the action to one or more Views that exist in the Modifications panel, or to one or more Views that were browsed and navigated to in the VEC. The action does not need to exist in the Modifications panel.
  • Action menu: each action created under a View has a menu, opened with the More (…) button. Info displays the details of the action, Edit edits the properties of the action directly, and Delete modification deletes the action.

Guardrails:

  • Many actions can be performed before the page loads in the VEC, or even when the page fails to load. Actions that cannot be edited before the site loads are disabled in the interface.
  • After Apply to more views, navigate to the View in the VEC with Browse to check whether the action is valid; an error displays when the action cannot be applied to the View.

Prerequisites and permissions:

  • When adobe.target.triggerView() is implemented on the SPA with the View names passed as parameters, the VEC detects these Views and users can create actions and modifications for their A/B or XT activities.

Applicability:

  • Applies to A/B Test, Auto-Allocate and Experience Targeting activities, and to Recommendations as an offer in A/B Test and Experience Targeting (XT) activities.
  • Does not apply to Multivariate Test, Auto-Target, Automated Personalization and Recommendations activities. Auto-Target A/B activities can still be run on a site where at.js 2.x is installed and triggerView() is implemented.
  • Integrations supported: Analytics for Target (A4T), Experience Cloud Audiences, Customer Attributes and AEM Experience Fragments.
  • Features supported: Workspaces and Properties, QA Links, Custom Code, Click-tracking and Multi-Activity Delivery. All VEC options are supported. The Form-based Experience Composer is not supported.

Terminology:

  • Canonical name: Visual Experience Composer — Acronym: VEC — variants: SPA VEC, VEC for SPAs.
  • Canonical name: single page application — Acronym: SPA.
  • Canonical name: Experience Targeting — Acronym: XT.
  • Canonical name: Analytics for Target — Acronym: A4T.
  • Canonical name: Adobe Target — Acronym: AT.
  • Canonical name: Adobe Experience Manager — Acronym: AEM.
  • Synonyms: “SPA VEC” = “VEC for SPAs”.

FAQ:

  • What is a View in the SPA VEC? A logical group of visual elements that together make up an SPA experience. A View can represent a whole site or a group of visual elements within a site.
  • When does the VEC detect Views? When adobe.target.triggerView() is implemented on the SPA with the View names passed as parameters.
  • Which activities can be created with the VEC for SPAs? The page states that the VEC for SPAs can be used to create A/B Test and Experience Targeting (XT) activities on popular frameworks, such as React and Angular. The Supported activities table also lists Auto-Allocate and Recommendations as an offer in A/B Test and Experience Targeting (XT) activities as supported.
  • Does the SPA VEC support Auto-Target? No. Auto-Target A/B activities can still be run on a site where at.js 2.x is installed and triggerView() is implemented.
  • How do I check an action after Apply to more views? Navigate to the View in the VEC with Browse. An error displays when the action cannot be applied to the View.

Examples:

  • Views of a hypothetical e-commerce site implemented in React: the home site is covered by the View home, and the products page, or the four products shown on it when they are grouped as a View, by products.
  • After Load More is clicked, the View PRODUCTS-PAGE-2 covers only the second row of products, and the URL does not change.
  • In the checkout, the View View Delivery Preferences covers the delivery options (normal delivery or express delivery). The Views Normal Delivery and Express Delivery give one View for each delivery preference, to personalize content depending on the selection.
  • With these Views, marketers can run an A/B Test to find out whether changing the color of a button from blue to red when Express Delivery is selected increases conversions, compared with keeping the button blue for both delivery options.

Related pages:

  • Developer setup that installs at.js 2.x and calls triggerView() for each View: Implement Views for the SPA VEC (c-experiences/spa-implement-views.md)
  • Advanced scenarios such as retrieving Views with up-to-date profile data, using Analytics for Target (A4T) and configuring Page Delivery settings: Advanced topics for the SPA VEC (c-experiences/spa-advanced-topics.md)
  • Modifications panel referred to in the description of the two improvements that allow the VEC to work with SPAs: Modifications (c-experiences/c-visual-experience-composer/c-vec-code-editor/vec-code-editor.md)
  • Activity type that can be created with the VEC for SPAs: A/B Test (c-activities/t-test-ab/test-ab.md)
  • Activity type that can be created with the VEC for SPAs: Experience Targeting (c-activities/t-experience-target/experience-target.md)

Personas:

  • marketer: Can create actions and modifications for A/B Test or Experience Targeting activities on the Views that the VEC detects. Can open the menu of an action with the More (…) button and select Info, Edit, Apply to more views or Delete modification. The page states that after Apply to more views, you navigate to the View with Browse, and an error displays when the action cannot be applied. Where: “Create activities in the VEC”.
  • developer: Can implement adobe.target.triggerView() on the SPA with the View names passed as parameters, so the VEC detects these Views. Can install at.js 2.x and call triggerView() for each View. The page states that Auto-Target A/B activities can still be run on a site where at.js 2.x is installed and triggerView() is implemented. Where: “Set up and use the SPA VEC”.

Onboarding:

  • Level: Experienced
  • First minimal step: Implement adobe.target.triggerView() on the SPA with the View names passed as parameters.
  • Success check: The VEC detects the Views, and users can create actions and modifications for their A/B or XT activities, which the Modifications panel groups under each View.
  • Previous: The one-time developer setup that installs at.js 2.x and calls triggerView() for each View: Implement Views for the SPA VEC (c-experiences/spa-implement-views.md)
  • Next: Advanced scenarios such as retrieving Views with up-to-date profile data, using Analytics for Target (A4T) and configuring Page Delivery settings: Advanced topics for the SPA VEC (c-experiences/spa-advanced-topics.md)
recommendation-more-help
target-help-main