개발자 가이드
User GuideDeveloper GuideAPI Guide🏠
English
English
  • 홈
  • 공통
    • Unified ID Linkage Scenario
    • Constant
    • FAQ
  • 플랫폼 별 가이드
    • Android
      • Link up
      • Event
      • Set User Identification Information
      • User Profile Settings
      • Action
        • Push
        • In-app messages
        • Notification Talk
        • Message
      • Privacy Policy
        • Support for Privacy Protection
        • Preparing for data disclosure requirements on Google Play
      • Release Notes
    • iOS
      • Link up
      • Event
      • Set user identification information
      • User Profile Settings
      • Action
        • Push
        • In-app messages
        • Notification Talk
        • message
      • Release Notes
    • HybridApp
      • Link up
    • Web
      • Link up
      • Event
      • Set user identification information
      • User Profile Settings
      • Action
        • In-app messages
        • Notification Talk
        • Message
      • Advanced use cases
        • Additional Settings
      • Release Notes
Powered by GitBook
On this page
  • Before you start
  • Set up
  • User identification information
  • Set by item
  • Set multiple items at once
  • Reset user identification information
  1. 플랫폼 별 가이드
  2. Web

Set user identification information

PreviousEventNextUser Profile Settings

Last updated 2 months ago

Before you start

How to set user identification information using DFINERY SDK. must be done first.

Set up

User identification information can be set using the Dfinery.setIdentity and Dfinery.setIdentities methods. User identification information is defined in DFIdentity, and only defined values ​​can be used.

EXTERNAL_IDIn this case, it is recommended to use a fixed value as it is used as an important value to distinguish users among user identification information. Please be careful not to include personal information. If EXTERNAL_IDpersonal information such as email address or phone number is included, it is recommended to encrypt it.

User identification information

Category
Detail

DFIdentity.EXTERNAL_ID

User ID

DFIdentity.EMAIL

User Email

DFIdentity.PHONE_NO

User phone number

DFIdentity.KAKAO_USER_ID

User Kakao Account ID

DFIdentity.LINE_USER_ID

User line account ID

Set by item

setIdentity(identity, "IDENTITY_VALUE");

Each parameter means:

  • identity: User identification information key (using the DFIdentity constant)

  • IDENTITY_VALUE: User identification information value

Dfinery.setIdentity(DFIdentity.EXTERNAL_ID, "TESTID");

Set multiple items at once

setIdentities(identities);

Each parameter means:

  • identities: Dictionary with keys and values ​​of user identification information

let identities = {};
identities[DFIdentity.EXTERNAL_ID] = "TESTID";
identities[DFIdentity.EMAIL] = "test1234@gmail.com";
identities[DFIdentity.PHONE_NO] = "821012345678";
identities[DFIdentity.KAKAO_USER_ID] = "12d1s21";
Dfinery.setIdentities(identities);

For phone numbers, please enter them in the following format: ex) 821012345678, 82212345678

Reset user identification information

resetIdentityCalling this method will clear and initialize any previously stored user identification information.

Please be careful when making calls, as initializing user identification information will interrupt any ongoing event flow and disconnect the terminal from the integrated ID.

Dfinery.resetIdentity();
SDK integration