Skip to main content
The method connects anonymous website activity with a known user. This helps you to target user through ads and many more.

Identify a user

Pass your application’s unique user ID to the identify() method.
Initialize the Twinalyze SDK before calling identify().

Identify with user properties

Pass user information as the second parameter.

Update user properties

Call identify() again when important user information changes, such as the user’s subscription plan or company.

Parameters

Registration example

Call identify() after a user completes registration.

When to call identify

Call identify() when:
  • A user successfully logs in
  • A user completes registration
  • User profile information becomes available
  • User properties such as plan or company change
Use a permanent and unique user ID from your application. Do not use a display name, session ID, or another value that may change.