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.
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 |