identify()
method after a user logs in or when your app starts with an authenticated user. This should be done before triggering any checkpoints or showing placements.identify
method to link a user’s identity with Flock:
Parameter | Type | Required | Description |
---|---|---|---|
externalUserId | String | Yes | Your unique identifier for the user in your system |
email | String | Yes | User’s email address |
name | String | Yes | User’s full name |
customProperties | Object | No | Additional user attributes for segmentation |
externalUserId
externalUserId
is the primary identifier that links your user in your system to their profile in Flock:
externalUserId
across all platforms for the same user