segment_track_event
Record custom user actions like 'Signed Up' or 'Item Purchased' by sending event data to Segment. Use this tool to track user behavior with event name, user ID, and optional properties.
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) |