Node — Identify
Identify a user and set their properties withsignal.identify(options). Sends an $identify event. Pass sessionId and windowId from request headers when you want to correlate with the client session.
identify(options)
| Option | Type | Required | Description |
|---|---|---|---|
distinctId | string | yes | User identifier |
properties | UserTraits | no | User properties to set |
sessionId | string | no | From header for client correlation |
windowId | string | no | From header for client correlation |
Example
See also
- Set person properties — setPersonProperties, setPersonPropertiesOnce
- Capture — Track events
