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

# Analytics

> Performance, at campaign, sending-account and whole-account level.

<Info>Requires the **Reporting** permission. Tools in this group are hidden from `tools/list` and refused on call when your plan does not grant it.</Info>

| Tool | Kind |
| - | - |
| [`analytics_account`](#analytics_account) | Read-only |
| [`analytics_campaign`](#analytics_campaign) | Read-only |
| [`analytics_campaign_funnel`](#analytics_campaign_funnel) | Read-only |
| [`analytics_reporting`](#analytics_reporting) | Read-only |
| [`analytics_trend`](#analytics_trend) | Read-only |

## analytics\_account

<Badge color="blue">Read-only</Badge>

Roll-up across every campaign in your account: totals by action type, reply sentiment breakdown, and tag distribution. SLOW — it aggregates every campaign and every lead. On a large account it may not complete at all. Prefer `analytics_reporting` for a time series or `analytics_campaign` for one campaign; reach for this only when a true account-wide roll-up is needed, and narrow it with `range`.

### Parameters

<ParamField path="status" type="string">
  Restrict to campaigns in this status.
</ParamField>

<ParamField path="tagId" type="string">
  Restrict to leads carrying this tag.
</ParamField>

<ParamField path="range" type="object">
  Date window as \{ from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.

  <Expandable title="properties">
    <ParamField path="from" type="string | number">
      Start of the window.
    </ParamField>

    <ParamField path="to" type="string | number">
      End of the window.
    </ParamField>

    <ParamField path="startDate" type="string | number">
      Alias for `from`.
    </ParamField>

    <ParamField path="endDate" type="string | number">
      Alias for `to`.
    </ParamField>
  </Expandable>
</ParamField>

## analytics\_campaign

<Badge color="blue">Read-only</Badge>

Headline performance for one campaign: prospects found, invites sent and accepted, messages, InMails, emails sent/opened/clicked/bounced, and replies. Omit `campaignId` for a roll-up across your whole account. Start here for "how is this campaign doing" — it is the cheap one. Totals only: for a day-by-day series use `analytics_reporting`, for where people drop out use `sequence_step_stats`, and for a spreadsheet use `campaign_export_stats`.

### Parameters

<ParamField path="campaignId" type="string">
  Campaign id, from `campaign_list` or `campaign_create`.
</ParamField>

<ParamField path="userId" type="string">
  Sub-account owner id.
</ParamField>

<ParamField path="range" type="object">
  Date window as \{ from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.

  <Expandable title="properties">
    <ParamField path="from" type="string | number">
      Start of the window.
    </ParamField>

    <ParamField path="to" type="string | number">
      End of the window.
    </ParamField>

    <ParamField path="startDate" type="string | number">
      Alias for `from`.
    </ParamField>

    <ParamField path="endDate" type="string | number">
      Alias for `to`.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField path="includeGraph" type="boolean" default="false">
  Also return the day-by-day series for charting.
</ParamField>

## analytics\_campaign\_funnel

<Badge color="blue">Read-only</Badge>

Stage-by-stage conversion for one campaign over a window — the numbers behind "where are we losing people". SLOW on a campaign with many leads: it walks every activity row and may not complete at all. Use `sequence_step_stats` for a fast per-step breakdown — it answers the same question on a large campaign.

### Parameters

<ParamField path="campaignId" type="string" required>
  Campaign id, from `campaign_list` or `campaign_create`.
</ParamField>

<ParamField path="range" type="object">
  Date window as \{ from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.

  <Expandable title="properties">
    <ParamField path="from" type="string | number">
      Start of the window.
    </ParamField>

    <ParamField path="to" type="string | number">
      End of the window.
    </ParamField>

    <ParamField path="startDate" type="string | number">
      Alias for `from`.
    </ParamField>

    <ParamField path="endDate" type="string | number">
      Alias for `to`.
    </ParamField>
  </Expandable>
</ParamField>

## analytics\_reporting

<Badge color="blue">Read-only</Badge>

Parallel daily series — engagements, invites, messages, InMails, follows, event invites, opportunities, emails sent/opened/clicked/bounced, accepted, replied — aligned to a shared `dates` array. The right tool for "how did we trend over the last 30 days". A series per day, not a total: for one campaign's totals use `analytics_campaign`, and for months rather than days use `analytics_trend`. Note it scopes by LinkedIn account, not by campaign.

### Parameters

<ParamField path="linkedAccountId" type="string">
  Narrow to one LinkedIn account.
</ParamField>

<ParamField path="userId" type="string">
  Sub-account owner id. Omit to act on your own data.
</ParamField>

<ParamField path="range" type="object">
  Date window as \{ from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.

  <Expandable title="properties">
    <ParamField path="from" type="string | number">
      Start of the window.
    </ParamField>

    <ParamField path="to" type="string | number">
      End of the window.
    </ParamField>

    <ParamField path="startDate" type="string | number">
      Alias for `from`.
    </ParamField>

    <ParamField path="endDate" type="string | number">
      Alias for `to`.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField path="filter" type="string[]">
  Restrict to specific series names, e.g. \["invites","accepted","replied"].
</ParamField>

## analytics\_trend

<Badge color="blue">Read-only</Badge>

Month-over-month totals for one action type, optionally scoped to a campaign or LinkedIn account. One action type per call and one point per month — the long view. For daily granularity across all action types at once use `analytics_reporting`.

### Parameters

<ParamField path="months" type="integer (1–24)" default="6">
  How many months back to include.
</ParamField>

<ParamField path="type" type="string">
  Action type, e.g. "CONNECT", "MESSAGE", "EMAIL".
</ParamField>

<ParamField path="campaignId" type="string">
  Campaign id, from `campaign_list` or `campaign_create`.
</ParamField>

<ParamField path="linkedAccountId" type="string">
  LinkedIn account id, from `linkedin_account_list`.
</ParamField>


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