Register a tracked event
add_eventRegister a Clarvivo event and get the exact trackEvent call and handler placement for analytics tracking without editing files.
Instructions
Register a Clarvivo event and propose the exact window.clarvivo.trackEvent call and handler placement. This tool does not edit files.
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": {
"projectId": "<projectId>",
"name": "<name>",
"type": "<type>"
},
"name": "add_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| type | Yes | ||
| value | No | ||
| where | No | Human-readable handler or file location for the proposed edit | |
| projectId | Yes | Clarvivo project ID |