Track Event
openpanel_track_eventSends a custom analytics event to OpenPanel with an event name, project ID, optional user profile ID, and custom properties so you can log actions like signups, purchases, or button clicks.
Instructions
Track a custom analytics event in OpenPanel.
Args:
name (string, required): Event name (e.g. 'button_click', 'purchase', 'signup')
project_id (string, required): OpenPanel project ID
profile_id (string, optional): User profile ID to associate this event with
properties (object, optional): Custom key-value properties for the event
Returns: Confirmation that the event was accepted (202 Accepted).
Example: Track a purchase event with amount and currency properties.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"project_id": "<project_id>"
},
"name": "openpanel_track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event name (e.g. 'button_click', 'page_view', 'purchase') | |
| profile_id | No | User profile ID to associate this event with | |
| project_id | Yes | OpenPanel project ID | |
| properties | No | Custom event properties as key-value pairs |