segment_identify_user
Link an anonymous visitor to a known user in Segment by providing a user ID, anonymous ID, and optional traits. This creates a unified user profile for tracking and analytics.
Instructions
Identify a user in Segment with traits. Links an anonymous ID to a known user ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| write_key | Yes | Segment source write key | |
| user_id | No | Unique user identifier | |
| anonymous_id | No | Anonymous ID to link to the user | |
| traits | No | User traits as key-value pairs (e.g. name, email, plan) | |
| timestamp | No | ISO 8601 timestamp (defaults to now) |