# Instagram clicks in the PubNio analytics API

Instagram `clicks` is a PubNio sum, not one Meta field. It adds the `profile_activity` breakdown by action type and, for Stories, the `navigation` breakdown. Feed posts and carousels report profile activity, Stories report both, and Reels report neither, so a Reel's clicks stay pending.

## What PubNio returns

| Metric | Scope | Instagram field | Unit | Combines by |
| --- | --- | --- | --- | --- |
| `clicks` | post | `profile_activity` breakdown (feed posts, carousels, Stories) + `navigation` breakdown (Stories); none for Reels | count | sum |
| `clicks` | account | not returned: `not_exposed` | count | sum |

`clicks`: All clicks the provider attributes.

## How PubNio reads it

- Each breakdown is a separate request, after the main insights request. Every value is added to the total and kept in `breakdown` under a prefixed key, such as `profile_activity.<action>` or `navigation.<action>`.

## Example

The capabilities endpoint answers without calling Instagram. Under the Instagram provider, these are its entries for `clicks`.

```http
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/capabilities
Authorization: Bearer pn_live_***
```

```json
[
  {
    "key": "clicks",
    "scope": "post",
    "granularity": "day",
    "unit": "count",
    "aggregation": "sum",
    "availability": "available",
    "supported": true,
    "renamedFrom": "profile_activity+navigation"
  },
  {
    "key": "clicks",
    "scope": "account",
    "granularity": "day",
    "unit": "count",
    "aggregation": "sum",
    "availability": "unsupported",
    "supported": false,
    "reason": "not_exposed"
  }
]
```

## Limits

- PubNio stops re-reading an Instagram post 90 days after it is published, so a post's `clicks` stops changing then.
- A metric Instagram does not report comes back with `value: null` and an availability state that says why. A post with no stored values whose last read failed on permissions, a rate limit, or a transient error answers with that error instead.

## Related

- [Instagram analytics API: the metrics PubNio reads](https://pubnio.com/platforms/instagram/analytics)
- [Instagram OAuth scopes](https://pubnio.com/docs/providers/instagram/scopes/)
- [API reference: analytics capabilities](https://pubnio.com/docs/reference/analytics-capabilities-get/)

