> ## 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.

# Analytics

> Ask about clicks, top links, busy hours and predicted clicks, and share a link's analytics

These tools report clicks for your whole workspace or for a single link. All dates and times are in **UTC**.

## Choosing a period

Most analytics tools accept the same period options. Use either `last_days` or a start and end date.

**last\_days** `number`

The last N days up to now, from 1 to 365.

**start\_date** `string`

The first day to include, as `YYYY-MM-DD`.

**end\_date** `string`

The last day to include, as `YYYY-MM-DD`. Defaults to today.

## Filtering by place and device

`get_analytics`, `get_clicks_over_time` and `get_click_trends` can be narrowed to clicks from certain places or devices. For example, only mobile clicks from India.

**countries** `string[]`

Country names, for example `["India"]`. Up to 20.

**states** `string[]`

States or regions, for example `["Karnataka"]`. Up to 20.

**cities** `string[]`

Cities, for example `["Bengaluru"]`. Up to 20.

**devices** `string[]`

`Mobile`, `Desktop` or `iPad`.

> [!TIP]
>
> Names are not case-sensitive. If a value has no clicks, the reply lists the values that do, so the assistant can try again with the right one.

## Click reports

### get\_analytics

A full click report for the workspace or one link: total clicks, top countries, states, cities, referrers and platforms, the share of clicks per device and browser, first-time versus repeat clicks, and devices by day of the week. Covers all time unless you give a period.

**Permission:** View analytics · **Try:** *"How did cme.sh/spring-sale do last week? Where did the clicks come from?"*

**link\_id** `string`

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

Plus the [period](#choosing-a-period) and [place and device](#filtering-by-place-and-device) options.

> [!NOTE]
>
> Device and browser figures are shares of the five most common devices and browsers.

### get\_clicks\_over\_time

Clicks per day or per week, for the workspace or one link. Covers the last 30 days unless you give a period, and up to 62 days or 26 weeks.

**Permission:** View analytics · **Try:** *"Show my daily clicks for the last two weeks"*

**link\_id** `string`

Only this link. Leave it out for the whole workspace.

**interval** `string` (default: day)

`day` or `week`.

Plus the [period](#choosing-a-period) and [place and device](#filtering-by-place-and-device) options.

### get\_top\_links

Your most-clicked links in a period, with their clicks in that period and all time. Covers the last 30 days unless you give a period.

**Permission:** View links and View analytics · **Try:** *"What were my top 5 links this month?"*

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

How many links, from 1 to 20.

Plus the [period](#choosing-a-period) options.

> [!NOTE]
>
> Links are ranked using their all-time clicks first, so a link that was clicked only in the last few moments can be missed.

### get\_click\_trends

When one link gets its clicks: the busiest day and hour, clicks per weekday and per hour of the day, and how clicks in the last 7 days compare with the 7 days before. Covers all time unless you give a period; the 7-day comparison always uses the latest 14 days. Depends on your plan.

**Permission:** View analytics · **Try:** *"When is the best time to post my spring-sale link?"*

**link\_id** `string` *required*

The link, from `list_links`.

Plus the [period](#choosing-a-period) and [place and device](#filtering-by-place-and-device) options.

## Click predictions

CutMe Short can predict how many clicks a link will get, hour by hour, for the next 48 hours. Predictions need click analytics on your plan and enough recent clicks on the link.

### predict\_link\_clicks

Starts a new prediction for one link. It takes a few minutes; read the result with `get_click_prediction`. A prediction only starts when the link has enough recent clicks and none is already running.

**Permission:** View analytics · **Try:** *"Predict clicks for my spring-sale link"*

**link\_id** `string` *required*

The link, from `list_links`.

### get\_click\_prediction

Shows a link's predicted clicks for each of the next 48 hours, with a likely range, next to its clicks in the last 24 hours. The status tells you whether the prediction is `ready`, still `running`, `not_started` or not possible yet because of too few clicks (`not_enough_data`).

**Permission:** View analytics · **Try:** *"Is the click prediction for spring-sale ready?"*

**link\_id** `string` *required*

The link, from `list_links`.

## Sharing

### share\_link\_analytics

Turns a public analytics page for one link on or off, optionally protected by a password. Anyone with the page address (and the password, if set) can see the link's clicks, so the assistant asks you first. It only uses a password you give it.

**Permission:** Manage links · **Try:** *"Share the analytics for cme.sh/spring-sale with my client, protected by a password"*

**link\_id** `string` *required*

The link, from `list_links`.

**shared** `boolean` *required*

`true` makes the page available; `false` turns it off.

**password** `string`

Require this password to see the page, 8 to 72 characters.

**remove\_password** `boolean` (default: false)

Remove the password so anyone with the address can see the page.

The reply includes the page address, on `app.cutmeshort.com/share/...`.

> [!TIP]
>
> For lead and sale numbers, see [Conversions](https://docs.cutmeshort.com/mcp/tools/conversions.md). For bio page visits, see [`get_bio_page_analytics`](https://docs.cutmeshort.com/mcp/tools/biopages#get_bio_page_analytics).


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