track_event
Track custom events like conversions, signups, or button clicks to capture specific user actions on your site.
Instructions
Track a custom event on a site. Use for conversions, signups, button clicks, or any custom metric.
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": {
"site_key": "<site_key>",
"name": "<name>"
},
"name": "track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_key | Yes | Site tracking key (get from list_sites) | |
| name | Yes | Event name (e.g., 'signup', 'purchase', 'download') | |
| url | No | Page URL where the event occurred | |
| metadata | No | Optional key-value metadata for the event |