Record conversion
record_conversionReport a sale or sign-up from someone who came through a tracked link. click_id is the tk value on the landing page's URL; value_cents is what it was worth; external_id (an order id) stops a retry counting twice.
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": {
"click_id": "<click_id>"
},
"name": "record_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional. What happened, like purchase. | |
| click_id | Yes | The `tk` value on the landing page URL. | |
| external_id | No | Optional. Your id for it. The same id twice counts once and returns the first with 200. | |
| value_cents | No | Optional. What it was worth, in US cents. |