Get Link Analytics
get_link_analyticsRetrieve click analytics for a specific link, including total clicks, unique clicks, and breakdowns by platform, country, and referrer over a chosen time period.
Instructions
Retrieve click analytics for a specific link. Returns aggregated data such as total clicks, unique clicks, and breakdowns by platform, country, and referrer for the requested time period.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"linkId": "<linkId>"
},
"name": "get_link_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linkId | Yes | The unique identifier of the link | |
| period | No | Time period for analytics data (defaults to 7d) |