For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Amplitude가 세션 길이를 계산하는 방법
세션 ID를 세션 속성으로 사용하면 Amplitude는 다음 수식을 사용하여 세션 길이를 계산합니다.
plaintext
*max(client\_event\_time) - min(client\_event\_time)*
이 수식에서:
client_event_time는 장치가 이벤트를 기록한 시점의 로컬 타임스탬프(UTC)입니다.min(client_event_time)는 장치에 의해 기록된 첫 번째 이벤트의 로컬 타임스탬프(UTC)입니다.max(client_event_time)는 장치가 마지막으로 기록한 이벤트의 로컬 타임스탬프(UTC)입니다.
Amplitude는 세션 길이 계산에서 숨겨진, 비활성 및 삭제된 이벤트를 제외합니다.
이벤트 시퀀스의 예:
이벤트 A --> 이벤트 B --> 이벤트 C --> 이벤트 D
이벤트 C와 이벤트 D가 숨겨져 있거나, 비활성화되거나, 삭제된 경우, Amplitude는 이벤트 D 대신 이벤트 B의 max(client_event_time)를 사용합니다.
Amplitude가 세션을 추적하는 방법에 대한 자세한 내용은 세션 추적을 참조하십시오.
이 내용이 도움이 되었나요?