# Get real-time CTR and click analytics
URL: /docs/api-reference/short-links-analytics/getShortLinkAnalytics

## GET `/api/v1/public/shortlinks/{id}/analytics`

**Summary:** Get real-time CTR and click analytics
**Operation ID:** `getShortLinkAnalytics`

Returns total clicks, unique visitors, click-through rate percentage, and breakdowns by device type, operating system, and browser.

**Authentication:** `X-Api-Key: sk_live_...` or `Authorization: Bearer sk_live_...`

### Parameters

| Name | In | Required | Description |
| :--- | :--- | :--- | :--- |
| `id` | `path` | Yes |  |

### Responses

- **`200`**: Real-time analytics and device telemetry

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "success"
    },
    "data": {
      "$ref": "#/components/schemas/ShortLinkAnalyticsDto"
    }
  }
}
```
- **`401`**: Authentication failed or API key missing