위치:
예제 Omniscript 설정에 Google Tag Manager 데이터 추가
스크립트 설정의 Messaging 프레임워크는 Google Analytics 전자상거래 및 Google Tag Manager로 전송되는 제품 인사이트의 전체 목록을 저장합니다.
- 앱 시작 관리자에서 Omnistudio를 찾아서 선택한 다음, Omniscripts를 클릭합니다.
- Omniscript 목록에서 Documentation/OmniAnalytics를 확장하고 E-commerce Buyflow Omniscript(버전 1)를 클릭합니다.
-
새 버전을 클릭합니다.
새 버전은 버전 2입니다. Google 태그 관리자 데이터가 없는 이전 버전은 버전 1입니다.
- 속성 창에서 설정을 클릭합니다.
- 추적 활성화를 선택합니다.
- Messaging 프레임워크 섹션을 확대합니다.
- 창 postMessage, Pub/Sub, 세션 저장소 상자가 선택되어 있는지 확인합니다.
-
메시지 아래에서 다음 키/값 쌍을 추가합니다.
키
값
eventAction
view_item_list
제품
(공백으로 둡니다)
- 하단으로 스크롤하고 JSON으로 등록 정보 편집을 클릭합니다.
-
products노드 뒤에 있는 빈 따옴표를 이 JSON 배열로 대체합니다. 콜론이 열린 괄호 앞에 있고 닫는 괄호가 닫는 괄호 뒤에 있는지 확인합니다.[ { "item_name": "Apple iPhone 7", "item_brand": "Apple", "item_category": "Mobile", "item_variant": "Black", "price": 699, "quantity": 1 }, { "item_name": "Apple iPhone 8", "item_brand": "Apple", "item_category": "Mobile", "item_variant": "Black", "price": 699, "quantity": 1 }, { "item_name": "Apple iPhone X", "item_brand": "Apple", "item_category": "Mobile", "item_variant": "Black", "price": 699, "quantity": 1 }, { "item_name": "Apple iPhone 11", "item_brand": "Apple", "item_category": "Mobile", "item_variant": "Black", "price": 699, "quantity": 1 }, { "item_name": "Apple iPhone XR", "item_brand": "Apple", "item_category": "Mobile", "item_variant": "Black", "price": 699, "quantity": 1 } ] - JSON 편집기 닫기를 클릭합니다.
예제 Omniscript 설정에 Google Tag Manager 데이터를 추가한 후 예제 Omniscript 단계에 Google Tag Manager 데이터 추가를 수행합니다.
