그룹 설정
사용자를 특정 그룹에 할당해 팀·조직 단위의 행동 분석과 그룹 기반 통계를 수집할 수 있습니다.
지원 함수
팀/조직 단위의 데이터 분석을 위해 사용자의 그룹 정보를 setGroup() 함수로 설정하세요.
StepBy.setGroup(id, customData)그룹과 사용자 정보를 설정해, 대시보드 페이지에서 행동 패턴과 주요 지표를 한눈에 확인할 수 있습니다.
Parameters
Group Property Parameters
key
type
desc
required
default
id
string (maxLength : 512)
그룹별 고유 식별자
customData
Object
대시보드에서 확인 가능한 사용자 추가 정보
예시 코드
const group = await fetchGroupInfo() // DB에 저장된 그룹 정보 조회
const stepByGroupId = group.id // StepBy group 식별자로 사용할 값 설정
StepBy.setGroup(stepByGroupId, {
name: group.name,
plan: group.plan,
country: group.country,
})Last updated