get_link_click_stats
Rank link destinations by unique clicks across all company emails in a chosen period, optionally filtered by email type, and report total clicks, unique clicks, and share.
Instructions
Get clicks per link destination across every email in the company over period or start/end (default 90d), ranked by unique clicks, with an optional emailType. Destinations ignore query strings, fragments and trailing slashes, so the same page linked with different UTM tags counts as one link. Each link reports clicks (every click, repeats included), uniqueClicks (subscribers who clicked it, each counted once) and share (percentage of totalUniqueClicks). totalClicks, totalUniqueClicks and totalLinks cover every destination before limit. For one campaign's links, read clickedLinks from get_campaign_stats instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_link_click_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Custom range end as an ISO 8601 timestamp; provide start too. | |
| limit | No | Number of destinations to return, 1 to 50. Defaults to 10. | |
| start | No | Custom range start as an ISO 8601 timestamp; provide end too. Maximum range is 90 days. | |
| period | No | Time period: 1h, 24h, 7d, 30d, or 90d. Defaults to 90d. | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| emailType | No | Structural email type filter: campaign, sequence, or transactional. | |
| mailboxProvider | No | Optional recipient mailbox provider filter, for example gmail, microsoft, or yahoo. | |
| includeMachineEngagement | No | If true, include machine-classified bot/scanner opens and clicks. Defaults to false, so metrics and activity are human-only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Custom range end when start/end was used. | |
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| links | No | Destinations, most unique clicks first. url has no query string, fragment or trailing slash; clicks counts every click including repeats, uniqueClicks counts subscribers who clicked it once each (recipients without a subscriber record count once per email), and share is the percentage of totalUniqueClicks rounded to two decimals. | |
| start | No | Custom range start when start/end was used. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| period | No | Applied period (custom for start/end). | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. | |
| emailType | No | Applied structural email type filter when one was requested. | |
| totalLinks | No | Distinct destinations before limit. | |
| totalClicks | No | Click events across every destination before limit, repeats included. 0 means nothing was clicked, so links is empty. | |
| mailboxProvider | No | Applied recipient mailbox provider filter when one was requested. | |
| totalUniqueClicks | No | Sum of every destination's uniqueClicks before limit. |