본문으로 건너뛰기

사용자와 코호트

이벤트는 사람에게서 오고, 디렉터리는 그들이 보내는 것으로 지어집니다: 익명 id는 identify 호출이 이름을 부르는 순간 사람이 되고, 그룹도 같은 길로 도착하며, 코호트는 행동이나 상태로 정의된 저장된 사람들의 집합입니다.

At a glance

Identity
identify names an anonymous id; write-once
Traits
$-prefixed traits are reserved; the rest are yours
Groups
group(type, key) rides the same pipeline
Cohorts
Behavioural clauses are swept; state clauses are live
Auth
Project key to send, access token to read
  • 예약된 트레이트는 $ 접두사를 답니다. email이라는 이름의 커스텀 속성은 커스텀으로 남습니다.
  • 식별은 한 번만 기록됩니다. 어떤 사람이 처음 이름을 얻은 순간은 결코 움직이지 않습니다.
  • 병합은 의도적입니다. 두 id는 요청받을 때만 한 사람으로 접히며, 추측으로는 결코 아닙니다.

작동 방식

Every event carries a distinct id, and the directory folds them into people: first seen, last seen, event and session counts, and the properties their identifying events carried. Identification is an event like any other, which is why an identify accepted with a 202 is accepted for processing rather than instantly visible. A cohort then names a set of these people: behavioural clauses count events over a window and are re-evaluated by a sweep that stamps when it ran; state clauses compare current attributes and are answered live. The same cohort scopes a workbench question, targets a campaign and gates a workflow trigger.

접근 위치

SurfaceOperation
RESTPOST /v1/identify · POST /v1/group (project key, accepted for processing)
GraphQLpeople, person, peopleGroups, cohorts queries · mergePeople, createCohort, updateCohort, setCohortActive, deleteCohort mutations
RealtimeNone of its own: the directory updates as events are processed
MCPNone

예시

curl "https://eu.api.prodantix.com/v1/identify" \
  -H "Authorization: Bearer $PRODANTIX_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "distinct_id": "u_8f3a", "properties": { "$email": "ada@example.com", "plan": "pro" } }'

The directory is browsed on the People screen and cohorts are authored on Cohorts.