segment 알아보기

김한울·2020년 5월 11일
0

segment

목록 보기
1/4
post-thumbnail

What is segment?

Segment is a Customer Data Infrastructure (CDI) service provider, which means that we provide a service that simplifies collecting and using data from the users of your digital properties (websites, apps, etc). With Segment, you can collect, transform, send, and archive your first-party customer data.

  • website, apps, third-party(메일침프, 인터컴 ...)으로부터 데이터를 수집하여 한 군데 모으고, 모은 데이터를 각 third-party(amplitude, blaze, warehouse ..)로 데이터를 보내주는 역할을 함.
  • source(website, apps, third-party)에서 수집된 데이터를 기반으로 destination(분석툴, DW)에 맞추어 자동으로 데이터를 변환하여 전송함.

Segment message

What is segment message?

  • 웹사이트, 앱, 서버에서 특정 트리거가 작동하였을 때, segment library에서 제공하는 함수를 통해 message(event)를 기록할 수 있음 (identify, track ..)

segment message 구성

  • Segment message 에는 반드시 userID 또는 anonymousID 필요
  • Segment message는 common fields, “context” object, properties & traits로 구성되어 있음.
    • common fields
      • common fields 메시지가 어떻게 생성되었는지에 대한 정보가 담겨 있음 ex) timestamp, library name, version
    • context object
      • 메시지가 생성되었을 때의 환경 정보들이 담겨 있음 ex) page path, user agent, OS, locale settings, etc ...
    • The properties and traits
      • segment가 사용자가 수집하고 싶은 정보들을 저장하는 곳
profile
적정 기술에 대해 고민합니다.

0개의 댓글