Track Goal Completion
track_goalTrack custom goal completion for a specific visitor by recording the goal name and optional metadata, enabling measurement of conversions and user actions.
Instructions
Track a custom goal completion for a specific visitor. Goal names must be lowercase, alphanumeric with underscores/hyphens, max 64 characters.
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": {
"visitorId": "<visitorId>",
"name": "<name>"
},
"name": "track_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Goal name (lowercase, alphanumeric, underscores, hyphens, max 64 chars) | |
| metadata | No | Optional metadata object with custom properties | |
| visitorId | Yes | The DataFast visitor ID | |
| description | No | Optional goal description |