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

# Conversions

> See the leads and sales your links bring in, record new ones and check your tracking script

Conversion tracking connects a click on your short link to what the visitor did next, such as signing up or buying. Learn how it works in [Lead & Sale Tracking](https://docs.cutmeshort.com/features/LeadSaleTrackAttribution.md).

> [!WARNING]
>
> Lead and sale tracking needs a plan that includes it, and your workspace must finish the short setup on the **Events** page of the CutMe Short dashboard first. Until then, `record_lead`, `record_sale` and turning on `track_conversions` for a link ask you to finish the setup there.

### get\_conversions

A conversion report for the workspace or one link: total clicks, verified leads, sales and sale amount, plus the most recent lead or sale events, newest first. Covers all time unless you give a period.

**Permission:** View analytics · **Try:** *"How many sales did my Instagram link bring in last month?"*

**link\_id** `string`

Only this link, from `list_links`. Leave it out for the whole workspace.

**events** `string` (default: sales)

Which recent events to list: `sales` or `leads`.

**limit** `number` (default: 20)

Events per page, from 1 to 50.

**offset** `number` (default: 0)

The `next_offset` value from the previous page. Use `0` to start.

**browsers** `string[]`

Only events from these browsers, for example `["Chrome", "Safari"]`. Up to 10.

**platforms** `string[]`

Only events from these operating systems, for example `["Android", "iOS"]`. Up to 10.

Plus the [period](https://docs.cutmeshort.com/mcp/tools/analytics.md#choosing-a-period) and [place and device](https://docs.cutmeshort.com/mcp/tools/analytics.md#filtering-by-place-and-device) options.

> [!NOTE]
>
> Events show your own customer ID, never the customer's name or email address. Sale amounts are shown as recorded, without a currency.

### record\_lead

Records a lead, such as a sign-up or a demo request, for a customer you identify with your own ID. The first time, give the `click_id` from the customer's visit to tie them to the link they came from. Later leads and sales for that customer are credited to the same link automatically.

**Permission:** View links and Record sales · **Try:** *"Record a Demo booked lead for customer user\_42 with click ID abc123"*

**customer\_id** `string` *required*

Your own ID for the customer, from your app or store, for example `user_42`.

**event\_name** `string` (default: Sign Up)

What happened, for example `Sign Up` or `Demo booked`.

**click\_id** `string`

CutMe Short's click ID for the visit the customer came from. This ties the customer to that link.

**customer\_name** `string`

The customer's name.

**customer\_email** `string`

The customer's email address.

### record\_sale

Records a sale for a customer, with its amount and currency. The amount is converted to USD for analytics. The sale counts towards a link once the customer is tied to a click, either through `record_lead` or by giving `click_id` here.

**Permission:** View links and Record sales · **Try:** *"Record a 49.99 USD Pro plan sale for customer user\_42, invoice INV-1001"*

**customer\_id** `string` *required*

Your own ID for the customer.

**amount** `number` *required*

The sale amount, for example `49.99`.

**currency** `string` (default: USD)

The three-letter currency code, for example `USD` or `INR`.

**event\_name** `string` (default: Purchase)

What was bought, for example `Purchase` or `Pro plan`.

**invoice\_id** `string`

Your invoice or order ID, so the sale can be recognised later.

**click\_id** `string`

CutMe Short's click ID for the visit the customer came from.

**customer\_name** `string`

The customer's name.

**customer\_email** `string`

The customer's email address.

> [!WARNING]
>
> Every call to `record_lead` or `record_sale` adds a new event, even if the same one was recorded before. Only ask the assistant to record events that really happened, once.

### check\_tracking\_script

Checks whether a public web page, such as your sign-up or checkout page, has CutMe Short's lead and sale tracking script (`track.js`) installed.

**Permission:** View links · **Try:** *"Is the tracking script installed on [https://acme.com/checkout](https://acme.com/checkout)?"*

**url** `string` *required*

The page to check.

> [!TIP]
>
> To record conversions from your own app or website automatically, use the [SDKs](https://docs.cutmeshort.com/sdks/overview.md) instead of the assistant.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.