Skip to content

Chat

이 섹션에는 8개의 이벤트가 포함되어 있습니다.

view_chat_tab

채팅 탭(메신저 surface) 진입

PlatformStatusVersion
Appv1.1.0
Web-

채팅 탭 진입 직후 1회. 백그라운드→포그라운드 복귀로 같은 화면 유지 시 재발화하지 않음.

PropertyTypeRequiredDescription
source'deeplink'
'push'
'bottom_tab'
'etc'
YES진입 출처

view_chat_thread

채팅방 진입

PlatformStatusVersion
Appv1.1.0
Webv1.1.0

채팅방 진입 시(frontia://chat-thread 딥링크 또는 앱 내부 push). thread_id 또는 soul_id 중 하나는 반드시 존재. 햄버거 시트 닫고 본 화면 복귀는 재발화하지 않음.

PropertyTypeRequiredDescription
thread_idstringNO채팅방(스레드) ID
soul_idstringNO소울 ID
soul_namestringNO소울 이름
character_idstringNO캐릭터 ID (entry/display source)
source'episode_detail'
'deeplink'
'push'
'etc'
'chat_menu'
YES진입 출처

click_chat_start

채팅 시작 ("대화하기"/추천 카드 CTA tap)

PlatformStatusVersion
Appv1.1.0
Webv1.1.0
PropertyTypeRequiredDescription
soul_idstringYES소울 ID
soul_namestringYES소울 이름
character_idstringNO캐릭터 ID
entry_source'episode_detail'
'etc'
'chat_menu'
YES진입 출처
is_first_threadfalse
true
YES첫 스레드 생성 여부
episode_idnull
string
NO에피소드 ID (없을 수 있음)

send_chat_message

채팅 텍스트 메시지 전송

PlatformStatusVersion
Appv1.1.0
Webv1.1.0

user 텍스트 bubble이 클라 측에 즉시 노출되는 시점(서버 ACK 무관).

PropertyTypeRequiredDescription
thread_idstringYES채팅방(스레드) ID
soul_idstringYES소울 ID
soul_namestringYES소울 이름
bubble_idstringYES클라 생성 bubble uuid
text_lengthnumberYES텍스트 길이

send_chat_photo

채팅 사진 메시지 전송

PlatformStatusVersion
Appv1.1.0
Webv1.1.0

user 사진 bubble이 클라 측에 즉시 노출되는 시점(파일 업로드 완료 무관, 큐 진입 시점).

PropertyTypeRequiredDescription
thread_idstringYES채팅방(스레드) ID
soul_idstringYES소울 ID
soul_namestringYES소울 이름
bubble_idstringYES클라 생성 bubble uuid

complete_chat_generation

채팅 응답 생성 완료

PlatformStatusVersion
Appv1.1.0
Webv1.1.0

generation 성공 응답 직후(동일 generation_id 중복 발화 안 함). generation_id·star_cost는 FE 미보유라 BE가 chat.generation_completed payload에 추가하면 채움.

PropertyTypeRequiredDescription
thread_idstringYES채팅방(스레드) ID
soul_idstringYES소울 ID
soul_namestringYES소울 이름
generation_idstringNOgeneration ID (FE 미보유 — BE가 generation_completed payload에 generationId 추가 시 채움)
input_bubble_countnumberYES입력(유저) bubble 수
output_bubble_countnumberYES출력(소울) bubble 수
star_costnumberNO소모 스타 수 (FE 미보유 — BE generation_completed 신호 준비 시 채움)
response_latency_msnumberYES전송→응답 지연(ms)

edit_chat_persona

채팅 페르소나(캐릭터가 보는 나) 편집

PlatformStatusVersion
Appv1.1.0
Web-

User Relational Persona 저장 API 성공 응답 직후.

PropertyTypeRequiredDescription
thread_idstringYES채팅방(스레드) ID
soul_idstringYES소울 ID
soul_namestringYES소울 이름

toggle_chat_proactive_message_receive

채팅 개인화 선톡 받기 토글

PlatformStatusVersion
Appv1.1.0
Web-

개인화 선톡 받기 시트를 닫는 시점에 직전 옵트인 상태와 다르면 발화. 시트 내에서 토글 후 다시 원래대로 돌리고 닫으면 발화하지 않음.

PropertyTypeRequiredDescription
soul_idnull
string
YES소울 ID (전역 토글 도입 시 null)
soul_namenull
string
YES소울 이름 (전역 토글 도입 시 null)
character_idstringNO캐릭터 ID
to_state'on'
'off'
YES변경된 옵트인 상태

Frontia Analytics Event Specification