Report a conversion
report_conversionReport a signup, activation or purchase that happened in the founder's own product, with the visitor's tracking code so the channel that brought them gets the credit. This is the back half of attribution: without it every channel reads zero customers. For the founder's app to report on its own, use conversion_snippet. Owner only.
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": {
"productId": "<productId>",
"type": "<type>"
},
"name": "report_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | signup: a new account. activation: the user did the thing the product is for. purchase: a payment (give valueCents). | |
| userRef | No | Opaque reference to the converting user in the founder's system (never an email). | |
| currency | No | ISO currency code, default usd. | |
| clickCode | No | The tracking code the visitor arrived with (the hlc query parameter on the landing URL). This is what credits a channel. | |
| productId | Yes | The product id. | |
| externalId | No | Idempotency key from the founder's system, e.g. '<user id>:signup' or the Stripe invoice id. Repeats are deduplicated, so retries are safe. | |
| occurredAt | No | When it happened, ISO-8601. Default now. Must be within the last 400 days. | |
| valueCents | No | Purchase value in cents. |