Get Profile Analytics
get_profile_analyticsReturns aggregated page views, link clicks, click-through rate (ctrPercent), top referrers, visitor countries, device categories, and daily time-series buckets for a Linq.es profile. When to use: choose this for traffic, referrer, geo, device, and CTR reporting on a Link-in-Bio page; use list_profile_links for per-link configuration and all-time link click totals, list_shortlinks for /s/:code shortlink clicks, or list_leads for contact form submissions. Prerequisites: requires Bearer lnq_live_ Pro authentication and a 'profile' handle owned by the caller (call list_profiles first if unknown). Validation: 'profile' must be non-empty and owned by the authenticated user (otherwise returns isError: true); 'days' defaults to 7, values <= 0 reset to 7, and values > 90 clamp to 90. Side effects: read-only and idempotent; performs no state mutations. Returns: JSON text with {profile, days, totalViews, totalClicks, ctrPercent, referrers, countries, devices, dailySeries: [{date, views, clicks, referrers, countries, devices, links}]}.
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": {
"profile": "<profile>"
},
"name": "get_profile_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in UTC calendar days between 1 and 90 (defaults to 7 when omitted or <= 0; values above 90 are clamped to 90). | |
| profile | Yes | Owned Linq.es profile handle without leading '@' or URL prefix (e.g. 'alex'). Obtain valid handles from list_profiles. |