> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bizbionic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CTR and attributed revenue

> Short links for click tracking and commerce conversion events — not wallet top-ups.

# CTR and attributed revenue

## Click-through rate (CTR)

Platform **short links** record clicks when recipients open them.

1. Create a link: A2A `links.shorten` with `target_url` and optional `campaign_id`.
2. Put the path (or full app origin + path) in your SMS body.
3. Recipients hit `GET /r/{code}` — we record a click and redirect.
4. Mission analytics show **Clicks** and **CTR** (clicks ÷ accepted).

If a mission has **no short links**, CTR shows as empty (not a fake 0% from missing data).

## Attributed revenue (commerce)

Use `analytics.recordConversion` to record store orders or other ROI events:

* `revenue_cents` — ledger millidollars (`$1 = 1000`)
* `campaign_id` — optional mission attribution
* `external_id` — idempotency (same id will not double-count)

**Not the same as wallet top-ups.** Stripe Checkout funds the prepaid wallet (`credit_transactions`). Conversion events live in `conversion_events` and appear as **Attributed revenue** on mission reports only when you ingest them.

## Related

* [Metrics glossary](/insights/metrics)
* [Usage, wallet, and invoices](/billing/usage-and-wallet)
