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.

Instagram: LiveView as Markdown

What PubNio returns

MetricScopeInstagram fieldUnitCombines by
clickspostprofile_activity breakdown (feed posts, carousels, Stories) + navigation breakdown (Stories); none for Reelscountsum
clicksaccountnot returned: not_exposedcountsum

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.

request.http
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/capabilities
Authorization: Bearer pn_live_***
response-excerpt-instagram-metrics.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.