segment_track_event
Record user actions in Segment by sending custom events like 'Signed Up' or 'Item Purchased'. Include event name, user ID, properties, and timestamp for detailed tracking.
Instructions
Track a custom event in Segment. Use for recording user actions like 'Signed Up', 'Item Purchased', etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| write_key | Yes | Segment source write key | |
| event | Yes | Event name (e.g. 'Item Purchased') | |
| user_id | No | Unique user identifier | |
| anonymous_id | No | Anonymous ID if user is not logged in | |
| properties | No | Event properties as key-value pairs | |
| timestamp | No | ISO 8601 timestamp (defaults to now) |